| java.lang.Object com.bigbross.bossa.wfnet.Transition
Method Summary | |
public String | getId() Returns the id of this transition. | List | getInputEdges() Returns all the input edges of this transition. | List | getOutputEdges() Returns all the output edges of this transition. | Expression | getResource() Returns the resource of this transition. | long | getTimeout() Returns the timeout of this transition. | public void | input(Place p, String expression) Creates an input edge connecting a place to this transition.
An input edge ties the firing of this transition to the
availability in the place of a number of tokens given by an integer
weight expression. | public void | output(Place p, String expression) Creates an output edge connecting this transition to a place.
An output edge produces in the place, after the firing of this
transition, a number of tokens given by an integer
weight expression. |
Transition | Transition(CaseType caseType, String id, String resource, long timeout)(Code) | | Creates a new transition.
Parameters: caseType - the case type this transition is contained. Parameters: id - the id of this transition. Parameters: resource - the expression to select the resource responsible bythis transition. Parameters: timeout - the number of milliseconds this transition will waitbefore it fires automatically. |
getId | public String getId()(Code) | | Returns the id of this transition.
the id of this transition. |
getInputEdges | List getInputEdges()(Code) | | Returns all the input edges of this transition.
a list of all the input edges of this transition. |
getOutputEdges | List getOutputEdges()(Code) | | Returns all the output edges of this transition.
a list of all the output edges of this transition. |
getResource | Expression getResource()(Code) | | Returns the resource of this transition.
the resource of this transition. |
getTimeout | long getTimeout()(Code) | | Returns the timeout of this transition.
the timeout of this transition. |
input | public void input(Place p, String expression)(Code) | | Creates an input edge connecting a place to this transition.
An input edge ties the firing of this transition to the
availability in the place of a number of tokens given by an integer
weight expression.
Parameters: p - the place. Parameters: expression - the weight expression. |
output | public void output(Place p, String expression)(Code) | | Creates an output edge connecting this transition to a place.
An output edge produces in the place, after the firing of this
transition, a number of tokens given by an integer
weight expression.
Parameters: p - the place. Parameters: expression - the weight expression. |
|
|