@Component
public class JobCompletionHandler
extends java.lang.Object
| Constructor and Description |
|---|
JobCompletionHandler(JobCompletionService jobCompletionService)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleJobCompletion(com.netflix.genie.core.events.JobFinishedEvent event)
Event listener for when a job is completed.
|
@Autowired public JobCompletionHandler(JobCompletionService jobCompletionService)
jobCompletionService - An implementation of the job completion service.@EventListener
public void handleJobCompletion(com.netflix.genie.core.events.JobFinishedEvent event)
throws com.netflix.genie.common.exceptions.GenieException
event - The Spring Boot application ready event to startup oncom.netflix.genie.common.exceptions.GenieException - If there is any problem