public final class TransitionImpl extends Object implements Transition
TransitionImpl
is a basic implementation of
Transition
.
Constructor and Description |
---|
TransitionImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getOutcome()
Return the logical outcome used to select this
Transition . |
String |
getTarget()
Return the target
State identifier for this
Transition . |
void |
setOutcome(String outcome)
Set the logical outcome used to select this
Transition . |
void |
setTarget(String target)
Set the target
State identifier for this
Transition . |
String |
toString()
Render a printable version of this instance.
|
public String getOutcome()
Return the logical outcome used to select this Transition
.
getOutcome
in interface Transition
Transition
to be
followedpublic String getTarget()
Return the target State
identifier for this
Transition
.
getTarget
in interface Transition
State
public String toString()
Render a printable version of this instance.
public void setOutcome(String outcome)
Set the logical outcome used to select this Transition
.
outcome
- New logical outcomepublic void setTarget(String target)
Set the target State
identifier for this
Transition
.
target
- New target identifierCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.