org.springframework.yarn.batch.event
Class JobExecutionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.yarn.event.AbstractYarnEvent
org.springframework.yarn.batch.event.JobExecutionEvent
- All Implemented Interfaces:
- Serializable
public class JobExecutionEvent
- extends org.springframework.yarn.event.AbstractYarnEvent
Generic event representing that Batch JobExecution
has happened.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
JobExecutionEvent
public JobExecutionEvent(Object source,
JobExecution jobExecution)
- Constructs event with the given
StepExecution.
- Parameters:
source - the component that published the event (never null)jobExecution - the Job execution
getJobExecution
public JobExecution getJobExecution()
- Gets the job execution for this event.
- Returns:
- the job execution
toString
public String toString()
- Overrides:
toString in class EventObject