public class WorkflowRequestCompletion extends Object implements com.broadleafcommerce.common.messaging.Securable, Serializable
TransitionRequest
or
WorkflowJobSchedulingRequest
or WorkflowJobUnschedulingRequest
.Constructor and Description |
---|
WorkflowRequestCompletion(boolean success,
Map<String,String> transferTypeIdMap,
Class<?> requestType,
String errorMessage,
String errorTrace,
Instant timestamp) |
WorkflowRequestCompletion(boolean success,
Map<String,String> transferTypeIdMap,
Class<?> requestType,
String errorMessage,
String errorTrace,
Instant timestamp,
String token,
Tracking changeTracking) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Tracking |
getChangeTracking()
All of the information contained within
Tracking for the target record of this
transition. |
String |
getErrorMessage()
If an error was encountered, this is the related message.
|
String |
getErrorTrace()
If an error was encountered, this is the related stack trace.
|
Class<?> |
getRequestType()
The type of the request.
|
Instant |
getTimestamp()
Time of completion.
|
String |
getToken() |
Map<String,String> |
getTransferTypeIdMap()
ID of the transfer items involved in a workflow request mapped by the
TransferType . |
int |
hashCode() |
boolean |
isSuccess()
Whether the request was successfully handled or encountered an error.
|
void |
setChangeTracking(Tracking changeTracking)
All of the information contained within
Tracking for the target record of this
transition. |
void |
setToken(String token) |
String |
toString() |
public WorkflowRequestCompletion(boolean success, Map<String,String> transferTypeIdMap, Class<?> requestType, String errorMessage, String errorTrace, Instant timestamp, String token, Tracking changeTracking)
public boolean isSuccess()
public Map<String,String> getTransferTypeIdMap()
TransferType
.
Could be the id of a change summary, summary group, or deployment.public Class<?> getRequestType()
TransitionRequest
such as WorkflowPromoteRequest
, WorkflowRebaseRequest
, &c. or a
WorkflowJobSchedulingRequest
or a WorkflowJobUnschedulingRequest
.public String getErrorMessage()
public String getErrorTrace()
public Instant getTimestamp()
public String getToken()
getToken
in interface com.broadleafcommerce.common.messaging.Securable
public Tracking getChangeTracking()
Tracking
for the target record of this
transition. This field is optional and is generally employed by the rebase and promotion
flows, as both of these cause unique change details to be created to represent the latest
stateTracking
for the record of this
transitionprotected boolean canEqual(Object other)
public void setToken(String token)
setToken
in interface com.broadleafcommerce.common.messaging.Securable
public void setChangeTracking(Tracking changeTracking)
Tracking
for the target record of this
transition. This field is optional and is generally employed by the rebase and promotion
flows, as both of these cause unique change details to be created to represent the latest
statechangeTracking
- All of the information contained within Tracking
for the record
of this transitionCopyright © 2021. All rights reserved.