|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascape.model.engine.StrategyFactory
public class StrategyFactory
A factory for creating Strategy objects.
| Constructor Summary | |
|---|---|
StrategyFactory(Scape scape,
java.lang.Object[] rules,
int threads)
Instantiates a new strategy factory. |
|
| Method Summary | |
|---|---|
ExecutionStrategy |
createStrategy()
Creates a new Strategy object. |
java.lang.Object[] |
getRules()
Gets the rules. |
Scape |
getScape()
Gets the scape. |
ExecutionStrategy |
getStrategy()
Gets the strategy. |
int |
getThreads()
Gets the threads. |
boolean |
isAnyDelete()
Checks if is any delete. |
boolean |
isAnyIterateAll()
Checks if is any iterate all. |
boolean |
isAnyRandom()
Checks if is any random. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrategyFactory(Scape scape,
java.lang.Object[] rules,
int threads)
scape - the scaperules - the rulesthreads - the threads| Method Detail |
|---|
public final ExecutionStrategy getStrategy()
public ExecutionStrategy createStrategy()
public final boolean isAnyDelete()
public final boolean isAnyIterateAll()
public final boolean isAnyRandom()
public final Scape getScape()
public final java.lang.Object[] getRules()
public final int getThreads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||