org.apache.oozie.event
Class WorkflowJobEvent

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.WorkflowJobEvent
All Implemented Interfaces:
Serializable

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

Class implementing JobEvent for events generated by Workflow Jobs

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
WorkflowJobEvent(String id, String parentId, org.apache.oozie.client.WorkflowJob.Status status, String user, String appName, Date startTime, Date endTime)
           
 
Method Summary
 String getCoordJobId()
           
 String getErrorCode()
           
 String getErrorMessage()
           
 org.apache.oozie.client.WorkflowJob.Status getStatus()
           
 void setErrorCode(String code)
           
 void setErrorMessage(String msg)
           
 void setStatus(org.apache.oozie.client.WorkflowJob.Status wfstatus)
           
 
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

WorkflowJobEvent

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

getCoordJobId

public String getCoordJobId()

getStatus

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

getErrorCode

public String getErrorCode()

setErrorCode

public void setErrorCode(String code)

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String msg)

setStatus

public void setStatus(org.apache.oozie.client.WorkflowJob.Status wfstatus)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.