public interface IStrategyBuilder
The KDDStrategyBuilder is an interface for the creation of available KDDStrategies. KDDStrategy implementations must provide a realization of this interface in order to make themselves available to the KDDAnalysisTool. Realizations must provide an isDataValid implementation to tell the KDDAnalysisDocument if it can be used.
Modifier and Type | Method and Description |
---|---|
KDDStrategy |
build(java.util.ArrayList<IDataProvider> data)
This method should return a new instance of the KDDStrategy.
|
java.lang.String |
getStrategyName()
Return the name of this KDDStrategy.
|
java.util.ArrayList<Entry> |
getStrategyPropertiesAsEntries()
Return this IStrategyBuilder's KDDStrategy configurable properties as a
list of ICE DataStructures Entries.
|
boolean |
isAvailable(java.util.ArrayList<IDataProvider> dataToCheck)
This method should take the input IDataProvider list and perform custom
checks on the providers to indicate whether or not the given data can be
used by the corresponding KDDStrategy.
|
KDDStrategy build(java.util.ArrayList<IDataProvider> data)
This method should return a new instance of the KDDStrategy.
data
- java.lang.String getStrategyName()
Return the name of this KDDStrategy.
boolean isAvailable(java.util.ArrayList<IDataProvider> dataToCheck)
This method should take the input IDataProvider list and perform custom checks on the providers to indicate whether or not the given data can be used by the corresponding KDDStrategy.
dataToCheck
- java.util.ArrayList<Entry> getStrategyPropertiesAsEntries()
Return this IStrategyBuilder's KDDStrategy configurable properties as a list of ICE DataStructures Entries.