| |
|
| java.lang.Object org.apache.commons.scxml.model.Path
Path | public class Path implements Serializable(Code) | | A helper class for this SCXML implementation that represents the
path taken to transition from one TransitionTarget to another in
the SCXML document.
The Path consists of the "up segment" that traces up to
the least common ancestor and a "down segment" that traces
down to the target of the Transition.
|
getDownwardSegment | final public List getDownwardSegment()(Code) | | Get the downward segment.
List downward segment from the scope to the target |
getRegionsEntered | final public List getRegionsEntered()(Code) | | Get the list of regions entered.
List a list of entered regions sorted top-down; no orderdefined for siblings See Also: State.isRegion |
getRegionsExited | final public List getRegionsExited()(Code) | | Get the list of regions exited.
List a list of exited regions sorted bottom-up;no order defined for siblings See Also: State.isRegion |
getScope | final public State getScope()(Code) | | Get the farthest state from root which is not being exited
nor entered by the transition (null if scope is document root).
State scope of the transition path, null means global transition(SCXML document level) Scope is the least state which is notbeing exited nor entered by the transition. |
getUpwardSegment | final public List getUpwardSegment()(Code) | | Get the upward segment.
List upward segment of the path up to the scope |
isCrossRegion | final public boolean isCrossRegion()(Code) | | Does this "path" cross regions.
true when the path crosses a region border(s) See Also: State.isRegion |
|
|
|