Package com.sas.lsaf.core.action
Class ActionStatusDetail
java.lang.Object
com.sas.lsaf.core.action.ActionStatusDetail
- All Implemented Interfaces:
Serializable
Represents the status of an individual step of an action completed in the system. The completion status will indicate
if this particular step completed successfully or not.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionActionStatusDetail(String id, String itemIdentifier, String itemLocation, String itemName, String messageCode, String message, ActionStatus.CompletionStatus completionStatus) Initializing constructor which sets the values of all variables. -
Method Summary
Modifier and TypeMethodDescriptionGet the completion status enum value indicating the most severe outcome (ERROR) encountered during the action.getId()Get the id of this action detail.Get the identifier of the item.Get the location of the item.Get the name or display name for this item.Get the message of the of the item.Get the message code of the item.toString()
-
Constructor Details
-
ActionStatusDetail
public ActionStatusDetail(String id, String itemIdentifier, String itemLocation, String itemName, String messageCode, String message, ActionStatus.CompletionStatus completionStatus) 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 theActionStatusreturned from batch service calls.- Parameters:
id- the id of this action detail.itemIdentifier- the identifier of the item. This could be the item's UUID, full path or some other uniquely identifying attribute.itemLocation- the location of the item. It will be the parent path of the item's full path IF a path is being used is the item identifier.itemName- the name or display name for this item.messageCode- the completion message code of the item.message- the completion summary message of the item.completionStatus- the completion status enum value indicating the most severe outcome (ERROR) encountered during the action.
-
-
Method Details
-
getId
Get the id of this action detail.- Returns:
- the id of this action detail.
-
getItemIdentifier
Get the identifier of the item. This could be the item's UUID, full path or some other uniquely identifying attribute.- Returns:
- the identifier of the item acted on
-
getItemLocation
Get the location of the item. It will be the parent path of the item's full path IF a path is being used is the item identifier. This field can be null.- Returns:
- the parent location of the item acted on.
-
getItemName
Get the name or display name for this item. This will never be null.- Returns:
- the name of the item acted on.
-
getMessageCode
Get the message code of the item.- Returns:
- the message code of the item.
-
getMessage
Get the message of the of the item.- Returns:
- the message of the of the item.
-
getCompletionStatus
Get the completion status enum value indicating the most severe outcome (ERROR) encountered during the action.- Returns:
- the completion status enum value indicating the most severe outcome (ERROR) encountered during the action.
-
toString
-