public class TestActionHandler extends AbstractActionHandler<TestAction,TestResult>
Constructor and Description |
---|
TestActionHandler() |
Modifier and Type | Method and Description |
---|---|
TestResult |
execute(TestAction action,
ExecutionContext context)
Handles the specified action.
|
void |
undo(TestAction action,
TestResult result,
ExecutionContext context)
Undoes the specified action.
|
getActionType
public static final String MESSAGE
public TestResult execute(TestAction action, ExecutionContext context) throws ActionException
ActionHandler
ExecutionContext.execute(Action)
. See
here for details.action
- The action.context
- The ExecutionContext
.Result
.ActionException
- if there is a problem performing the specified action.public void undo(TestAction action, TestResult result, ExecutionContext context) throws ActionException
ActionHandler
ExecutionContext.undo(Action, Result)
. See
here for details.action
- The action.result
- The result of the action.context
- The ExecutionContext
.ActionException
- if there is a problem performing the specified action.Copyright © 2010–2014 Arcbees. All rights reserved.