public class Transition extends SimpleTransition implements DocumentOrder
documentOrderComparator, reverseDocumentOrderComparator
Constructor and Description |
---|
Transition()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCond()
Get the guard condition (may be null).
|
String |
getEvent()
Get the event that will trigger this transition (pending
evaluation of the guard condition in favor).
|
List<String> |
getEvents() |
int |
getOrder() |
boolean |
isAllEventsTransition() |
boolean |
isNoEventsTransition() |
void |
setCond(String cond)
Set the guard condition.
|
void |
setEvent(String event)
Set the event that will trigger this transition (pending
evaluation of the guard condition in favor).
|
void |
setOrder(int order)
Sets the document order of this transition
|
getNamespaces, getNext, getObservableId, getParent, getTargets, getTransitionDomain, getType, isTypeInternal, setNamespaces, setNext, setObservableId, setParent, setType
addAction, getActions, setParent
public Transition()
public final int getOrder()
getOrder
in interface DocumentOrder
DocumentOrder
public final void setOrder(int order)
order
- the document orderDocumentOrder
public void setCond(String cond)
cond
- The cond to set.public String getEvent()
public void setEvent(String event)
event
- The event to set.public final List<String> getEvents()
public final boolean isNoEventsTransition()
public final boolean isAllEventsTransition()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.