public class JobExecutionExitCodeGenerator extends Object implements 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forPayload
public void onApplicationEvent(JobExecutionEvent event)
onApplicationEvent
in interface ApplicationListener<JobExecutionEvent>
public int getExitCode()
ExitCodeGenerator
getExitCode
in interface ExitCodeGenerator