org.itracker.model
Class WorkflowScript

java.lang.Object
  extended by org.itracker.model.AbstractEntity
      extended by org.itracker.model.WorkflowScript
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Entity>, Entity

public class WorkflowScript
extends AbstractEntity

A BeanShell script to execute on a particular event.

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.

Author:
ready
See Also:
ProjectScript, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.itracker.model.AbstractEntity
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
 
Field Summary
 
Fields inherited from class org.itracker.model.AbstractEntity
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
 
Constructor Summary
WorkflowScript()
           
 
Method Summary
 int getEvent()
           
 String getName()
           
 int getNumberUses()
           
 String getScript()
           
 void setEvent(int event)
           
 void setName(String name)
           
 void setNumberUses(int value)
           
 void setScript(String script)
           
 String toString()
           
 
Methods inherited from class org.itracker.model.AbstractEntity
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowScript

public WorkflowScript()
Method Detail

getEvent

public int getEvent()

setEvent

public void setEvent(int event)

getName

public String getName()

setName

public void setName(String name)

getScript

public String getScript()

setScript

public void setScript(String script)

getNumberUses

public int getNumberUses()

setNumberUses

public void setNumberUses(int value)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 itracker. All Rights Reserved.