| Constructor and Description |
|---|
Transition(State source,
State target)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getProperty(String name)
Returns property value mapped to given
name. |
State |
getSource()
Returns the source state.
|
State |
getTarget()
Returns the target state.
|
int |
hashCode() |
boolean |
matchesAll(List<TransitionMatcher> matchers)
Checks if this transition matches all of given
matchers. |
boolean |
matchesAll(TransitionMatcher... matchers)
checks if this transition matches all of given
matchers. |
boolean |
matchesAny(List<TransitionMatcher> matchers)
Checks if this transition matches any of given
matchers. |
boolean |
matchesAny(TransitionMatcher... matchers)
Checks if this transition matches any of given
matchers. |
Object |
setProperty(String name,
Object value)
Sets property value mapped to given
name. |
String |
toString() |
public final State getSource()
public final State getTarget()
public final boolean matchesAny(TransitionMatcher... matchers)
matchers.matchers - matcherspublic final boolean matchesAny(List<TransitionMatcher> matchers)
matchers.matchers - matcherspublic final boolean matchesAll(TransitionMatcher... matchers)
matchers.matchers - matcherspublic final boolean matchesAll(List<TransitionMatcher> matchers)
matchers.matchers - matcherspublic final Object getProperty(String name)
name.name - property nameCopyright © 2011-2012. All Rights Reserved.