org.apache.oozie.event
Class WorkflowActionEvent

java.lang.Object
  extended by org.apache.oozie.client.event.Event
      extended by org.apache.oozie.client.event.JobEvent
          extended by org.apache.oozie.event.WorkflowActionEvent
All Implemented Interfaces:
Serializable

public class WorkflowActionEvent
extends org.apache.oozie.client.event.JobEvent

Class implementing JobEvent for events generated by Workflow Actions

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.oozie.client.event.JobEvent
org.apache.oozie.client.event.JobEvent.EventStatus
 
Nested classes/interfaces inherited from class org.apache.oozie.client.event.Event
org.apache.oozie.client.event.Event.MessageType
 
Field Summary
 
Fields inherited from class org.apache.oozie.client.event.Event
msgType
 
Constructor Summary
WorkflowActionEvent(String id, String parentId, org.apache.oozie.client.WorkflowAction.Status status, String user, String appName, Date startTime, Date endTime)
           
 
Method Summary
 String getErrorCode()
           
 String getErrorMessage()
           
 String getHadoopId()
           
 org.apache.oozie.client.WorkflowAction.Status getStatus()
           
 void setErrorCode(String code)
           
 void setErrorMessage(String msg)
           
 void setHadoopId(String id)
           
 void setStatus(org.apache.oozie.client.WorkflowAction.Status actionStatus)
           
 
Methods inherited from class org.apache.oozie.client.event.JobEvent
getAppName, getAppType, getEndTime, getEventStatus, getId, getParentId, getStartTime, getUser, setAppName, setAppType, setEndTime, setEventStatus, setId, setParentId, setStartTime, setUser, toString
 
Methods inherited from class org.apache.oozie.client.event.Event
getMsgType, setMsgType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowActionEvent

public WorkflowActionEvent(String id,
                           String parentId,
                           org.apache.oozie.client.WorkflowAction.Status status,
                           String user,
                           String appName,
                           Date startTime,
                           Date endTime)
Method Detail

getStatus

public org.apache.oozie.client.WorkflowAction.Status getStatus()

setStatus

public void setStatus(org.apache.oozie.client.WorkflowAction.Status actionStatus)

getHadoopId

public String getHadoopId()

setHadoopId

public void setHadoopId(String id)

getErrorCode

public String getErrorCode()

setErrorCode

public void setErrorCode(String code)

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String msg)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.