Class JobExecutionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.autoconfigure.batch.JobExecutionEvent
- All Implemented Interfaces:
Serializable
Spring
ApplicationEvent
encapsulating a JobExecution
.- Since:
- 1.0.0
- Author:
- Dave Syer
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionJobExecutionEvent
(org.springframework.batch.core.JobExecution execution) Create a newJobExecutionEvent
instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.batch.core.JobExecution
Return the job execution.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
JobExecutionEvent
public JobExecutionEvent(org.springframework.batch.core.JobExecution execution) Create a newJobExecutionEvent
instance.- Parameters:
execution
- the job execution
-
-
Method Details
-
getJobExecution
public org.springframework.batch.core.JobExecution getJobExecution()Return the job execution.- Returns:
- the job execution
-