org.apache.shale.dialog.basic.model
Interface Transition

All Known Implementing Classes:
TransitionImpl

public interface Transition

Description of a transition from the owning State to another State with a specified identifier. Transition instances are owned by a single State instance, or are global to an entire Dialog instance, and during execution of an application they are immutable.

Since:
1.0.4

Method Summary
 String getOutcome()
          Return the logical outcome used to select this Transition.
 String getTarget()
          Return the target State identifier for this Transition.
 

Method Detail

getOutcome

String getOutcome()

Return the logical outcome used to select this Transition.

Returns:
The logical outcome that causes this Transition to be followed

getTarget

String getTarget()

Return the target State identifier for this Transition.

Returns:
The identifier of the target State


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.