public class ScriptEntity
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| private org.apache.log4j.Logger | _loggerThe _logger. | 
| private ScriptRunner | srThe sr. | 
| private ScriptResultObject | sroThe sro. | 
| Constructor and Description | 
|---|
| ScriptEntity(java.lang.String name)Create a new @see com.fgm.scriptEngine.ScriptResultObject and a new ScriptRunner for it. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getDescription()Gets the description from the @see com.fgm.scriptEngine.ScriptResultObject | 
| ScriptResultObject | getSRO()Return the current @see com.fgm.scriptEngine.ScriptResultObject. | 
| ScriptResultObject | runScript(java.lang.String script)Run the script and fill out the ScriptResultObject. | 
| void | setDescription(java.lang.String description)Sets the description in the @see com.fgm.scriptEngine.ScriptResultObject | 
| void | setScript(java.lang.String script)Sets the script in the @see com.fgm.scriptEngine.ScriptResultObject. | 
private org.apache.log4j.Logger _logger
private ScriptRunner sr
private ScriptResultObject sro
public ScriptEntity(java.lang.String name)
name - the name for the @see com.fgm.scriptEngine.ScriptResultObjectpublic void setScript(java.lang.String script)
script - the String containing the jython scriptpublic ScriptResultObject runScript(java.lang.String script)
script - - the script to runpublic ScriptResultObject getSRO()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to set