public class Option
extends java.lang.Object
| Constructor and Description |
|---|
Option(Sequence seq,
java.lang.String cond) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
void |
exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
Write the xml representation of an option to the XMLStreamWriter
|
java.lang.String |
getCond()
Get the condition of an option.
|
Sequence |
getSeq()
Return the sequence of the option.
|
int |
hashCode() |
void |
setCond(java.lang.String cond)
Set the condition of an option.
|
void |
setSeq(Sequence seq)
Sets a new sequence to the option
|
public Option(Sequence seq, java.lang.String cond)
sequence - The sequence of tasks that should be performedcondition - The condition that must be fulfilled to call sequence.public Sequence getSeq()
public void setSeq(Sequence seq)
sequence - public java.lang.String getCond()
public void setCond(java.lang.String cond)
condition - public void exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
writer - javax.xml.stream.XMLStreamExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object