public abstract class AbstractScript extends AbstractUnit implements ScriptingBaseScript
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected int |
isolation |
changeListener, createdBy, description, id, 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 |
---|---|
int |
getIsolation() |
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 |
setIsolation(int isolation) |
addPropertyChangeListener, console_println, create, firePropertyChange, firePropertyChangeListener, getCreatedBy, getDescription, getFile, getFileResource, getId, getInfBoolean, getInfInt, getInfString, getInfValue, getManager, getName, getParent, getTypeName, getVersion, isSaved, load, setCreatedBy, setDescription, setId, setName, setParent, 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, getTypeName, getVersion, isSaved, move, remove, rename, setCreatedBy, setDescription, setName, setSaved, setVersion
addObserver, deleteObserver, deleteObservers
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 int getIsolation()
getIsolation
in interface ScriptingBaseScript
public void setIsolation(int isolation)
setIsolation
in interface ScriptingBaseScript
protected void save(Ini prefs)
save
in class AbstractUnit
protected void loadInf(Ini prefs)
loadInf
in class AbstractUnit