Spring for Apache Hadoop

org.springframework.yarn.batch.event
Class JobExecutionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.yarn.event.AbstractYarnEvent
              extended by org.springframework.yarn.batch.event.JobExecutionEvent
All Implemented Interfaces:
java.io.Serializable

public class JobExecutionEvent
extends AbstractYarnEvent

Generic event representing that Batch JobExecution has happened.

Author:
Janne Valkealahti
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JobExecutionEvent(java.lang.Object source, org.springframework.batch.core.JobExecution jobExecution)
          Constructs event with the given StepExecution.
 
Method Summary
 org.springframework.batch.core.JobExecution getJobExecution()
          Gets the job execution for this event.
 java.lang.String toString()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobExecutionEvent

public JobExecutionEvent(java.lang.Object source,
                         org.springframework.batch.core.JobExecution jobExecution)
Constructs event with the given StepExecution.

Parameters:
source - the component that published the event (never null)
jobExecution - the Job execution
Method Detail

getJobExecution

public org.springframework.batch.core.JobExecution getJobExecution()
Gets the job execution for this event.

Returns:
the job execution

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Spring for Apache Hadoop