public class JobExecutionExitCodeGenerator extends Object implements org.springframework.context.ApplicationListener<JobExecutionEvent>, ExitCodeGenerator
Constructor and Description |
---|
JobExecutionExitCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
int |
getExitCode()
Returns the exit code that should be returned from the application.
|
void |
onApplicationEvent(JobExecutionEvent event) |
public void onApplicationEvent(JobExecutionEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<JobExecutionEvent>
public int getExitCode()
ExitCodeGenerator
getExitCode
in interface ExitCodeGenerator
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.