|
||||||||||
| 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.AbstractScriptActor
adams.flow.core.AbstractGroovyActor
public abstract class AbstractGroovyActor
Abstract ancestor for actors that execute Groovy scripts.
Groovy,
Serialized Form| Field Summary | |
|---|---|
protected AbstractActor |
m_ActorObject
the loaded script object. |
protected GroovyScript |
m_InlineScript
the inline script. |
| Fields inherited from class adams.flow.core.AbstractScriptActor |
|---|
m_ScriptFile, m_ScriptObject, m_ScriptOptions |
| 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 | |
|---|---|
AbstractGroovyActor()
|
|
| Method Summary | |
|---|---|
protected String |
checkScriptObject()
Checks the script object. |
void |
defineOptions()
Adds options to the internal list of options. |
protected GroovyScript |
getDefaultInlineScript()
Returns the default inline script. |
GroovyScript |
getInlineScript()
Gets the inline script to use instead of the external script file. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
String |
inlineScriptTipText()
Returns the tip text for this property. |
protected String |
loadScriptObject()
Loads the scripts object and sets its options. |
String |
scriptOptionsTipText()
Returns the tip text for this property. |
void |
setInlineScript(GroovyScript value)
Sets the inline script to use instead of the external script file. |
String |
setUp()
Initializes the item for flow execution. |
protected String |
updateScriptOptions()
Updates the script options. |
void |
wrapUp()
Cleans up after the execution has finished. |
| Methods inherited from class adams.flow.core.AbstractScriptActor |
|---|
getScriptFile, getScriptOptions, initScriptObject, scriptFileTipText, setScriptFile, setScriptOptions |
| 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.core.option.OptionHandler |
|---|
cleanUpOptions, getOptionManager |
| Field Detail |
|---|
protected transient AbstractActor m_ActorObject
protected GroovyScript m_InlineScript
| Constructor Detail |
|---|
public AbstractGroovyActor()
| Method Detail |
|---|
public void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractScriptActorpublic String getQuickInfo()
getQuickInfo in interface adams.core.QuickInfoSupportergetQuickInfo in interface ActorgetQuickInfo in class AbstractScriptActorpublic String scriptOptionsTipText()
scriptOptionsTipText in class AbstractScriptActorprotected GroovyScript getDefaultInlineScript()
public void setInlineScript(GroovyScript value)
value - the inline scriptpublic GroovyScript getInlineScript()
public String inlineScriptTipText()
protected String loadScriptObject()
loadScriptObject in class AbstractScriptActorprotected String checkScriptObject()
checkScriptObject in class AbstractScriptActorpublic String setUp()
setUp in interface ActorsetUp in class AbstractScriptActorprotected String updateScriptOptions()
public void wrapUp()
wrapUp in interface ActorwrapUp in class AbstractScriptActor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||