|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.generator.AbstractFlowGenerator<T>
T - the type of actor that owns this generatorpublic abstract class AbstractFlowGenerator<T extends AbstractActor>
Ancestor for generators that use model setups to generate flows.
| Field Summary | |
|---|---|
protected T |
m_Owner
the owner. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractFlowGenerator()
|
|
| Method Summary | |
|---|---|
protected void |
check()
Hook method for checks before generating the flow. |
protected abstract AbstractActor |
doGenerate()
Generates the flow. |
AbstractActor |
generate()
Generates the flow and returns it. |
T |
getOwner()
Returns the owner. |
void |
setOwner(T value)
Sets the owner. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected T extends AbstractActor m_Owner
| Constructor Detail |
|---|
public AbstractFlowGenerator()
| Method Detail |
|---|
public void setOwner(T value)
setOwner in interface Generator<T extends AbstractActor>owner - the owner of this generatorpublic T getOwner()
getOwner in interface Generator<T extends AbstractActor>protected void check()
protected abstract AbstractActor doGenerate()
public AbstractActor generate()
generate in interface Generator<T extends AbstractActor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||