public class WorkflowJobMessage extends JobMessage
Constructor and Description |
---|
WorkflowJobMessage()
Default constructor
|
WorkflowJobMessage(JobEvent.EventStatus eventStatus,
String workflowJobId,
String coordinatorActionId,
Date startTime,
Date endTime,
WorkflowJob.Status status,
String user,
String appName,
String errorCode,
String errorMessage)
Constructor for a workflow job message
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Get the workflow error code
|
String |
getErrorMessage()
Get the error message
|
WorkflowJob.Status |
getStatus()
Get the workflow job status
|
void |
setErrorCode(String errorCode)
Set the workflow error code
|
void |
setErrorMessage(String errorMessage)
Set the workflow error message
|
void |
setStatus(WorkflowJob.Status status)
Set the workflow job status
|
getAppName, getEndTime, getEventStatus, getId, getMessageProperties, getParentId, getStartTime, getUser, setAppName, setEndTime, setEventStatus, setId, setParentId, setProperties, setStartTime, setUser
getAppType, getMessageType, setAppType, setMessageType
public WorkflowJobMessage()
public WorkflowJobMessage(JobEvent.EventStatus eventStatus, String workflowJobId, String coordinatorActionId, Date startTime, Date endTime, WorkflowJob.Status status, String user, String appName, String errorCode, String errorMessage)
eventStatus
- event statusworkflowJobId
- the workflow job idcoordinatorActionId
- the parent coordinator action idstartTime
- start time of workflowendTime
- end time of workflowstatus
- status of workflowuser
- the userappName
- appName of workflowerrorCode
- errorCode of the failed wf actionserrorMessage
- errorMessage of the failed wf actionpublic void setStatus(WorkflowJob.Status status)
status
- public WorkflowJob.Status getStatus()
public void setErrorCode(String errorCode)
errorCode
- public String getErrorCode()
public void setErrorMessage(String errorMessage)
errorMessage
- public String getErrorMessage()
Copyright © 2018 Apache Software Foundation. All rights reserved.