|
||||||||||
| 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.AbstractJythonActor
public abstract class AbstractJythonActor
Abstract ancestor for actors that execute Jython scripts.
Jython,
Serialized Form| Field Summary | |
|---|---|
protected AbstractActor |
m_ActorObject
the loaded script object. |
protected JythonScript |
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_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 |
| Fields inherited from interface adams.flow.core.Actor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ |
| Constructor Summary | |
|---|---|
AbstractJythonActor()
|
|
| Method Summary | |
|---|---|
protected String |
checkScriptObject()
Checks the script object. |
void |
defineOptions()
Adds options to the internal list of options. |
protected JythonScript |
getDefaultInlineScript()
Returns the default inline script. |
JythonScript |
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(JythonScript value)
Sets the inline script to use instead of the external script file. |
String |
setUp()
Initializes the item for flow execution. |
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 JythonScript m_InlineScript
| Constructor Detail |
|---|
public AbstractJythonActor()
| 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 JythonScript getDefaultInlineScript()
public void setInlineScript(JythonScript value)
value - the inline scriptpublic JythonScript 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 AbstractScriptActorpublic 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 | |||||||||