Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class WorkflowScript extends AbstractEntity
The script is interpreted on it's event fired
in the environment there is available:
currentValue will be applied to the currentForm, property field
This allows to dynamically customize the system by executing custom actions at given extension points where an event is generated.
A WorkflowScript needs to be configured to be executed for a particular field
of a Project. This configuration is represented as a ProjectScript.
WorkflowScript - ProjectScript is a 1-N relationship.
ProjectScript
,
Serialized FormModifier and Type | Class | Description |
---|---|---|
static class |
WorkflowScript.ScriptLanguage |
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
WorkflowScript() |
Modifier and Type | Method | Description |
---|---|---|
int |
getEvent() |
|
WorkflowScript.ScriptLanguage |
getLanguage() |
|
String |
getName() |
|
String |
getScript() |
|
void |
setEvent(int event) |
|
void |
setLanguage(WorkflowScript.ScriptLanguage language) |
|
void |
setName(String name) |
|
void |
setScript(String script) |
|
String |
toString() |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
public int getEvent()
public void setEvent(int event)
public String getName()
public void setName(String name)
public String getScript()
public void setScript(String script)
public WorkflowScript.ScriptLanguage getLanguage()
public void setLanguage(WorkflowScript.ScriptLanguage language)
Copyright © 2002–2019 itracker. All rights reserved.