public class CompositeStrategy extends KDDStrategy
The CompositeStrategy is a realization of the Composite design pattern that encapsulates a tree structure of available KDDStrategies to execute. Its executeStrategy method should primarily loop over its collection of KDDStrategies and execute each.
Constructor and Description |
---|
CompositeStrategy()
The constructor.
|
CompositeStrategy(java.util.ArrayList<IDataProvider> data)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
executeStrategy()
(non-Javadoc)
|
getName, getProperties, getPropertiesAsEntryList, getProperty, getType, getURI, resetProperties, setProperty
public CompositeStrategy(java.util.ArrayList<IDataProvider> data)
The constructor.
data
- java.lang.IllegalArgumentException
public CompositeStrategy()
public boolean executeStrategy()
executeStrategy
in class KDDStrategy
KDDStrategy.executeStrategy()