Package com.chutneytesting.task.spi
Interface Task
-
public interface TaskMarking interface for an executableTask.
A task implementation will be instantiated for each execution, so that no state will be kept from one execution to another.
Warning: A task implementation must have one and only-one constructor
Tasks are identified by their class name converted from PascalCase to spinal-case. This is done by
com.chutneytesting.task.api.TaskTemplateMapperex. MySuperTask will become my-super-task
This spinal-case identifier is used by external systems to specify which tasks to execute. For more information, @see com.chutneytesting.task.api package
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TaskExecutionResultexecute()Execute the task.default List<String>validateInputs()
-
-
-
Method Detail
-
execute
TaskExecutionResult execute()
Execute the task.- Returns:
- a
TaskExecutionResultaccording to how the execution went
-
-