|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.api.Activity.JoinAndSplitMode
This class defines the join and split modes for an activity.
Field Summary | |
static Activity.JoinAndSplitMode |
AND
AND join or split. |
static Activity.JoinAndSplitMode |
XOR
XOR join or split. |
Constructor Summary | |
protected |
Activity.JoinAndSplitMode(java.lang.String text)
Default constructor. |
Method Summary | |
static Activity.JoinAndSplitMode |
fromString(java.lang.String text)
Get the join/split mode by name. |
boolean |
isAND()
Checks if the mode is "AND". |
boolean |
isXOR()
Checks if the mode is "XOR". |
java.lang.String |
toString()
Returns the mode as text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Activity.JoinAndSplitMode XOR
public static final Activity.JoinAndSplitMode AND
Constructor Detail |
protected Activity.JoinAndSplitMode(java.lang.String text)
text
- textual representation of the mode.Method Detail |
public final java.lang.String toString()
public static Activity.JoinAndSplitMode fromString(java.lang.String text) throws java.lang.IllegalArgumentException
text
- mode name.
java.lang.IllegalArgumentException
- if text
is not a valid
mode name.public final boolean isXOR()
true
if the mode is "XOR".public final boolean isAND()
true
if the mode is "AND".
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |