Package com.sas.lsaf.core.action
Class ActionStatus
java.lang.Object
com.sas.lsaf.core.action.ActionStatus
- All Implemented Interfaces:
Serializable
ActionStatus contains information about the results of a batch operation. It has a completion status and summary
message as well as a status for each entry acted upon.
- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes the completion status of either the overall action or an individual action status detail. -
Constructor Summary
ConstructorsConstructorDescriptionActionStatus(ActionStatus.CompletionStatus completionStatus, String completionMessage) Initializing constructor which sets the values of all variables. -
Method Summary
Modifier and TypeMethodDescriptionGet the completion summary message describing the outcome of the batch operation.Get the completion status enum value indicating the most severe outcome (ERROR) encountered during the batch operationGet the detail status entries for all items acted ontoString()
-
Constructor Details
-
ActionStatus
Initializing constructor which sets the values of all variables. It is not intended for consumers of the API to construct these objects directly, rather retrieve them from batch service calls.- Parameters:
completionStatus- the completion status enum value indicating the most severe outcome (ERROR) encountered during the batch operationcompletionMessage- the completion summary message describing the outcome of the batch operation.
-
-
Method Details
-
getCompletionStatus
Get the completion status enum value indicating the most severe outcome (ERROR) encountered during the batch operation- Returns:
- CompletionStatus completionStatus
-
getCompletionMessage
Get the completion summary message describing the outcome of the batch operation.- Returns:
- String completionMessage The completion summary message describing the outcome of the batch operation.
-
getDetails
Get the detail status entries for all items acted on- Returns:
- List of detail status entries
-
toString
-