public class CoordinatorActionMessage extends JobMessage
Constructor and Description |
---|
CoordinatorActionMessage()
Default constructor
|
CoordinatorActionMessage(JobEvent.EventStatus eventStatus,
String coordinatorActionId,
String coordinatorJobId,
Date startTime,
Date endTime,
Date nominalTime,
CoordinatorAction.Status status,
String user,
String appName,
String missingDependency,
String errorCode,
String errorMessage)
Constructs the coordinator action message
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Get the error code
|
String |
getErrorMessage()
Get the error message
|
String |
getMissingDependency()
Get the missing dependency
|
Date |
getNominalTime()
Get the nominal time
|
CoordinatorAction.Status |
getStatus()
Get the status of coord action
|
void |
setErrorCode(String errorCode)
Set the error code
|
void |
setErrorMessage(String errorMessage)
Set the error message
|
void |
setMissingDependency(String missingDependency)
Set the missing dependency
|
void |
setNominalTime(Date nominalTime)
Set the nominal time
|
void |
setStatus(CoordinatorAction.Status status)
Set the status of coordinator action
|
getAppName, getEndTime, getEventStatus, getId, getMessageProperties, getParentId, getStartTime, getUser, setAppName, setEndTime, setEventStatus, setId, setParentId, setProperties, setStartTime, setUser
getAppType, getMessageType, setAppType, setMessageType
public CoordinatorActionMessage()
public CoordinatorActionMessage(JobEvent.EventStatus eventStatus, String coordinatorActionId, String coordinatorJobId, Date startTime, Date endTime, Date nominalTime, CoordinatorAction.Status status, String user, String appName, String missingDependency, String errorCode, String errorMessage)
eventStatus
- the event statuscoordinatorActionId
- the coord action idcoordinatorJobId
- the parent job idstartTime
- the created time of coord actionendTime
- the end time of coord actionnominalTime
- the nominal time of coord actionstatus
- the status of coord actionuser
- the user of coordinatorappName
- the app name of coordinatormissingDependency
- the action's first missing dependencyerrorCode
- the action's error codeerrorMessage
- the action's error messagepublic void setStatus(CoordinatorAction.Status status)
status
- public CoordinatorAction.Status getStatus()
public void setNominalTime(Date nominalTime)
nominalTime
- public Date getNominalTime()
public void setErrorCode(String errorCode)
errorCode
- public String getErrorCode()
public void setErrorMessage(String errorMessage)
errorMessage
- public String getErrorMessage()
public void setMissingDependency(String missingDependency)
missingDependency
- public String getMissingDependency()
Copyright © 2018 Apache Software Foundation. All rights reserved.