org.joone.util
Class GroovyMacroPlugin
java.lang.Object
org.joone.util.MonitorPlugin
org.joone.util.GroovyMacroPlugin
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, NeuralNetListener, MacroInterface
public class GroovyMacroPlugin
- extends MonitorPlugin
- implements MacroInterface
- See Also:
- Serialized Form
Methods inherited from class org.joone.util.MonitorPlugin |
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate, toBeManaged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
GroovyMacroPlugin
public GroovyMacroPlugin()
set
public void set(java.lang.String name,
java.lang.Object jObject)
- Description copied from interface:
MacroInterface
- Exports an internal variable in the script's namespace
- Specified by:
set
in interface MacroInterface
- Parameters:
name
- - the name of the variable in the script's namespacejObject
- - the value of the exported variable
manageStart
protected void manageStart(Monitor mon)
- Specified by:
manageStart
in class MonitorPlugin
manageCycle
protected void manageCycle(Monitor mon)
- Specified by:
manageCycle
in class MonitorPlugin
manageStop
protected void manageStop(Monitor mon)
- Specified by:
manageStop
in class MonitorPlugin
manageError
protected void manageError(Monitor mon)
- Specified by:
manageError
in class MonitorPlugin
runMacro
public void runMacro(java.lang.String text)
- Run a generic macro contained in a text
- Specified by:
runMacro
in interface MacroInterface
getMacroManager
public MacroManager getMacroManager()
- Getter for property macroManager.
- Specified by:
getMacroManager
in interface MacroInterface
- Returns:
- Value of property macroManager.
setMacroManager
public void setMacroManager(MacroManager macroManager)
- Setter for property macroManager.
- Specified by:
setMacroManager
in interface MacroInterface
- Parameters:
macroManager
- New value of property macroManager.
manageStopError
protected void manageStopError(Monitor mon,
java.lang.String msgErr)
- Specified by:
manageStopError
in class MonitorPlugin
Submit Feedback to pmarrone@users.sourceforge.net