public class JobExecutionEvent
extends org.springframework.yarn.event.AbstractYarnEvent
JobExecution
has happened.source| Constructor and Description |
|---|
JobExecutionEvent(Object source,
JobExecution jobExecution)
Constructs event with the given
StepExecution. |
| Modifier and Type | Method and Description |
|---|---|
JobExecution |
getJobExecution()
Gets the job execution for this event.
|
String |
toString() |
getTimestampgetSourcepublic JobExecutionEvent(Object source, JobExecution jobExecution)
StepExecution.source - the component that published the event (never null)jobExecution - the Job executionpublic JobExecution getJobExecution()
public String toString()
toString in class EventObject