stamp.util.dialer
Class ActionResult
java.lang.Object
|
+--stamp.util.dialer.DialerAction
|
+--stamp.util.dialer.ActionResult
- public class ActionResult
- extends DialerAction
Dialer result action.
Constructor Summary |
ActionResult(boolean result)
Create a result action. |
SUCCESS
public static final boolean SUCCESS
FAILURE
public static final boolean FAILURE
ActionResult
public ActionResult(boolean result)
- Create a result action. A result action will terminate the running
script and indicate success or failure.
- Parameters:
result
- the result which should be returned. The result can be
SUCCESS or FAILURE.
execute
public int execute(DialerControl dialer)
- Executes the action.
- Overrides:
- execute in class DialerAction
- Returns:
- the offset to the next action that should be executed.