public abstract class AbstractScript extends AbstractUnit implements ScriptingBaseScript
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected String |
isolationGroup |
changeListener, createdBy, description, id, logger, manager, name, parent, saved, typename, version
ISOLATION_HIGH, ISOLATION_LOW
Constructor and Description |
---|
AbstractScript(ScriptingFolder parent,
String typename,
ScriptingManager manager,
String id) |
Modifier and Type | Method and Description |
---|---|
String |
getIsolationGroup() |
boolean |
isEnabled()
Check if the script execution is enabled.
|
protected void |
loadInf(Ini prefs) |
protected void |
save(Ini prefs) |
void |
setEnabled(boolean enabled)
Enable or disable the sript execution.
|
void |
setIsolationGroup(String group) |
addPropertyChangeListener, console_println, create, firePropertyChange, firePropertyChangeListener, getCreatedBy, getDescription, getFile, getFileResource, getId, getInfBoolean, getInfInt, getInfString, getInfValue, getManager, getName, getParent, getProperties, getProperty, getTypeName, getVersion, isSaved, load, setCreatedBy, setDescription, setId, setName, setParent, setProperty, setSaved, setVersion, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addStderrWriter, addStdoutWriter, compile, getLibrarySuffix, getResource, getScriptFile, put, removeStderrWriter, removeStdoutWriter, run, run, runAsTask, setLibrarySuffix
addPropertyChangeListener, getCreatedBy, getDescription, getFile, getFiles, getIconNames, getId, getName, getParent, getProperties, getProperty, getTypeName, getVersion, isSaved, move, remove, rename, setCreatedBy, setDescription, setName, setProperty, setSaved, setVersion
addObserver, deleteObserver, deleteObservers
protected boolean enabled
protected String isolationGroup
public AbstractScript(ScriptingFolder parent, String typename, ScriptingManager manager, String id)
public boolean isEnabled()
ScriptingBaseScript
isEnabled
in interface ScriptingBaseScript
public void setEnabled(boolean enabled)
ScriptingBaseScript
setEnabled
in interface ScriptingBaseScript
public String getIsolationGroup()
getIsolationGroup
in interface ScriptingBaseScript
public void setIsolationGroup(String group)
setIsolationGroup
in interface ScriptingBaseScript
protected void save(Ini prefs)
save
in class AbstractUnit
protected void loadInf(Ini prefs)
loadInf
in class AbstractUnit