|
||||||||||
| 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.core.AbstractActor
adams.flow.core.AbstractCopyGlobalActor
public abstract class AbstractCopyGlobalActor
Ancestor for actors that use a copy of a global actor.
| Field Summary | |
|---|---|
protected AbstractActor |
m_GlobalActor
the global actor. |
protected GlobalActorReference |
m_GlobalName
the global name. |
protected GlobalActorHelper |
m_Helper
the helper class. |
| Fields inherited from class adams.flow.core.AbstractActor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ, m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_Self, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractCopyGlobalActor()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Cleans up after the execution has finished. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doExecute()
Executes the flow item. |
protected abstract String |
executeGlobalActor()
Executes the global actor. |
protected AbstractActor |
findGlobalActor()
Tries to find the global actor referenced by its global name. |
protected void |
forceVariables(Variables value)
Updates the Variables instance in use. |
AbstractActor |
getGlobalActor()
Returns the currently set global actor. |
GlobalActorReference |
getGlobalName()
Returns the name of the global actor in use. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
String |
globalNameTipText()
Returns the tip text for this property. |
boolean |
hasGlobalActor()
Checks whether a reference to the global actor is currently available. |
protected void |
initialize()
Initializes the members. |
boolean |
isFinished()
Returns whether the actor has finished. |
void |
setGlobalName(GlobalActorReference value)
Sets the name of the global actor to use. |
String |
setUp()
Initializes the item for flow execution. |
void |
stopExecution()
Stops the execution. |
void |
wrapUp()
Cleans up after the execution has finished. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, globalInfo, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected GlobalActorReference m_GlobalName
protected AbstractActor m_GlobalActor
protected GlobalActorHelper m_Helper
| Constructor Detail |
|---|
public AbstractCopyGlobalActor()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractActorprotected void initialize()
initialize in class AbstractActorpublic void setGlobalName(GlobalActorReference value)
value - the global namepublic GlobalActorReference getGlobalName()
public String globalNameTipText()
public String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in class AbstractActorprotected AbstractActor findGlobalActor()
public boolean hasGlobalActor()
getGlobalActor()public AbstractActor getGlobalActor()
getGlobalActor in interface GlobalActorHandlerprotected void forceVariables(Variables value)
forceVariables in class AbstractActorvalue - the instance to usepublic String setUp()
setUp in class AbstractActorprotected abstract String executeGlobalActor()
protected String doExecute()
doExecute in class AbstractActorpublic boolean isFinished()
isFinished in class AbstractActorpublic void stopExecution()
stopExecution in interface StoppablestopExecution in class AbstractActorpublic void wrapUp()
wrapUp in class AbstractActorpublic void cleanUp()
cleanUp in interface CleanUpHandlercleanUp in class AbstractActor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||