IBM WebSphere Application ServerTM
Release 7

com.ibm.task.api
Interface AutoDeletionMode


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
static java.lang.String COPYRIGHT
           
static int ON_COMPLETION
          Symbolic constant that indicates that a task instance is automatically deleted when it reaches an end execution state.
static int ON_SUCCESSFUL_COMPLETION
          Symbolic constant that indicates that a task instance is automatically deleted when it is completed successfully.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

ON_COMPLETION

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:
Constant Field Values

ON_SUCCESSFUL_COMPLETION

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:
Constant Field Values

IBM WebSphere Application ServerTM
Release 7