|
||||||||||
| 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 |
|---|
m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_Executing, m_ExecutionListeningSupporter, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_ScopeHandler, 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 |
| Fields inherited from interface adams.flow.core.Actor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ |
| 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 |
| Methods inherited from interface adams.flow.core.Actor |
|---|
compareTo, debug, destroy, equals, execute, findVariables, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFlowExecutionListeningSupporter, getFullName, getName, getNextSibling, getParent, getParentComponent, getPreviousSibling, getRoot, getScopeHandler, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, hasErrorHandler, hasStopMessage, index, isExecuted, isHeadless, isStopped, setAnnotations, setErrorHandler, setHeadless, setName, setParent, setSkip, setStopFlowOnError, setVariables, sizeOf, stopExecution, variableChanged |
| Methods inherited from interface adams.core.AdditionalInformationHandler |
|---|
getAdditionalInformation |
| Methods inherited from interface adams.core.option.OptionHandler |
|---|
cleanUpOptions, getOptionManager |
| 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 interface ActorgetQuickInfo in class AbstractActorprotected AbstractActor findGlobalActor()
public boolean hasGlobalActor()
getGlobalActor()public AbstractActor getGlobalActor()
getGlobalActor in interface GlobalActorUserprotected void forceVariables(Variables value)
forceVariables in class AbstractActorvalue - the instance to usepublic String setUp()
setUp in interface ActorsetUp in class AbstractActorprotected abstract String executeGlobalActor()
protected String doExecute()
doExecute in class AbstractActorpublic boolean isFinished()
isFinished in interface ActorisFinished in class AbstractActorpublic void stopExecution()
stopExecution in interface StoppablestopExecution in interface ActorstopExecution in class AbstractActorpublic void wrapUp()
wrapUp in interface ActorwrapUp in class AbstractActorpublic void cleanUp()
cleanUp in interface CleanUpHandlercleanUp in interface ActorcleanUp in class AbstractActor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||