org.apache.oozie.client.event.message
Class CoordinatorActionMessage

java.lang.Object
  extended by org.apache.oozie.client.event.message.EventMessage
      extended by org.apache.oozie.client.event.message.JobMessage
          extended by org.apache.oozie.client.event.message.CoordinatorActionMessage

public class CoordinatorActionMessage
extends JobMessage

Class holding attributes related to Coordinator action message


Constructor Summary
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
 
Method Summary
 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
 
Methods inherited from class org.apache.oozie.client.event.message.JobMessage
getAppName, getEndTime, getEventStatus, getId, getMessageProperties, getParentId, getStartTime, getUser, setAppName, setEndTime, setEventStatus, setId, setParentId, setProperties, setStartTime, setUser
 
Methods inherited from class org.apache.oozie.client.event.message.EventMessage
getAppType, getMessageType, setAppType, setMessageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordinatorActionMessage

public CoordinatorActionMessage()
Default constructor


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)
Constructs the coordinator action message

Parameters:
eventStatus - the event status
coordinatorActionId - the coord action id
coordinatorJobId - the parent job id
startTime - the created time of coord action
endTime - the end time of coord action
nominalTime - the nominal time of coord action
status - the status of coord action
user - the user of coordinator
appName - the app name of coordinator
missingDependency - the action's first missing dependency
errorCode - the action's error code
errorMessage - the action's error message
Method Detail

setStatus

public void setStatus(CoordinatorAction.Status status)
Set the status of coordinator action

Parameters:
status -

getStatus

public CoordinatorAction.Status getStatus()
Get the status of coord action

Returns:
the CoordinatorAction status

setNominalTime

public void setNominalTime(Date nominalTime)
Set the nominal time

Parameters:
nominalTime -

getNominalTime

public Date getNominalTime()
Get the nominal time

Returns:
the nominal time

setErrorCode

public void setErrorCode(String errorCode)
Set the error code

Parameters:
errorCode -

getErrorCode

public String getErrorCode()
Get the error code

Returns:
the errorCode

setErrorMessage

public void setErrorMessage(String errorMessage)
Set the error message

Parameters:
errorMessage -

getErrorMessage

public String getErrorMessage()
Get the error message

Returns:
the errorMessage

setMissingDependency

public void setMissingDependency(String missingDependency)
Set the missing dependency

Parameters:
missingDependency -

getMissingDependency

public String getMissingDependency()
Get the missing dependency

Returns:
the missing Dependency


Copyright © 2013 Apache Software Foundation. All Rights Reserved.