Package com.chutneytesting.action.spi
Interface Action
public interface Action
Marking interface for an executable
A action implementation will be instantiated for each execution, so that no state will be kept from one execution to another.
Action.A action implementation will be instantiated for each execution, so that no state will be kept from one execution to another.
Warning: A action implementation must have one and only-one constructor
Actions are identified by their class name converted from PascalCase to spinal-case.
This is done by com.chutneytesting.action.api.ActionTemplateMapper
ex. MySuperAction will become my-super-action
This spinal-case identifier is used by external systems to specify which actions to execute. For more information, @see com.chutneytesting.action.api package
-
Method Summary
-
Method Details
-
execute
ActionExecutionResult execute()Execute the action.- Returns:
- a
ActionExecutionResultaccording to how the execution went
-
validateInputs
- Returns:
- the errors returned
-