public class Transition
extends java.lang.Object
| Constructor and Description |
|---|
Transition(State source,
State target)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
State |
getSource()
Returns the source state.
|
State |
getTarget()
Returns the target state.
|
int |
hashCode() |
boolean |
matchesAll(java.util.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(java.util.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. |
java.lang.String |
toString() |
public final State getSource()
public final State getTarget()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic final boolean matchesAny(TransitionMatcher... matchers)
matchers.matchers - matcherspublic final boolean matchesAny(java.util.List<TransitionMatcher> matchers)
matchers.matchers - matcherspublic final boolean matchesAll(TransitionMatcher... matchers)
matchers.matchers - matcherspublic final boolean matchesAll(java.util.List<TransitionMatcher> matchers)
matchers.matchers - matchersCopyright © 2011. All Rights Reserved.