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:
- java.io.Serializable
public class JobExecutionEvent
- extends AbstractYarnEvent
Generic event representing that Batch JobExecution
has happened.
- Author:
- Janne Valkealahti
- See Also:
- Serialized Form
| 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 |
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
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