com.ibm.task.api

Interface AutoDeletionMode


  1. public interface AutoDeletionMode
This interface defines symbolic constants that state whether a task instance is automatically deleted once it reaches an end execution state or not. These constants are to be used when a task template or instance is asked for the deletion mode - refer to TaskTemplate.getAutoDeletionMode() or Task.getAutoDeletionMode().
Since:
6.1

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. int
ON_COMPLETION
Symbolic constant that indicates that a task instance is automatically deleted when it reaches an end execution state.
  1. static
  2. int
ON_SUCCESSFUL_COMPLETION
Symbolic constant that indicates that a task instance is automatically deleted when it is completed successfully.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

ON_COMPLETION

  1. static final int ON_COMPLETION
Symbolic constant that indicates that a task instance is automatically deleted when it reaches an end execution state.

End execution states are STATE_FINISHED, STATE_FAILED, STATE_TERMINATED, or STATE_EXPIRED.

See Also:

ON_SUCCESSFUL_COMPLETION

  1. static final int ON_SUCCESSFUL_COMPLETION
Symbolic constant that indicates that a task instance is automatically deleted when it is completed successfully. If not completed successfully, it is kept to allow for failing analysis.
See Also: