com.ibm.ws.javax.activity
Interface CompletionStatus
- public interface CompletionStatus
When an Activity completes, it does so in one of two states, either success or failure. The success state is represented by a CompletionStatus value of CompletionStatusSuccess. The failure state is represented by one of two CompletionStatus values: CompletionStatusFail and CompletionStatusFailOnly.
During its lifetime, the completion state of the Activity (i.e., the state it would have if it completed at that point) may change from success to failure, and back again many times. If the CompletionStatus is set to CompletionStatusFailOnly, however, the completion state is latched to failure.
The CompletionStatus may affect the signals that are produced by the CompletionSignalSet during Activity completion; the specific effect is a detail of the CompletionSignalSet behaviour.
Field Summary static int CompletionStatusFail
The Activity has not successfully completed its work, either as a result of application failure or simply due to processing that is not yet complete, and should be driven accordingly during completion.static int CompletionStatusFailOnly
The Activity has not successfully completed its work, as a result of a system or application failure, and should be driven accordingly during completion.static int CompletionStatusSuccess
The Activity has successfully performed its work and can complete accordingly.
Field Detail CompletionStatusSuccess
public static final int CompletionStatusSuccess
- The Activity has successfully performed its work and can complete accordingly. When in this state, the Activity CompletionStatus can be changed.
- See Also:
- Constant Field Values
CompletionStatusFail
public static final int CompletionStatusFail
- The Activity has not successfully completed its work, either as a result of application failure or simply due to processing that is not yet complete, and should be driven accordingly during completion. When in this state, the Activity CompletionStatus can be changed. This is the initial CompletionStatus of an Activity.
- See Also:
- Constant Field Values
CompletionStatusFailOnly
public static final int CompletionStatusFailOnly
- The Activity has not successfully completed its work, as a result of a system or application failure, and should be driven accordingly during completion. When in this state, the Activity CompletionStatus cannot be changed.
- See Also:
- Constant Field Values
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.