Interface Task


  • public interface Task
    Marking interface for an executable Task.
    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.TaskTemplateMapper

    ex. 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