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) |
public void onApplicationEvent(JobExecutionEvent event)
onApplicationEvent
in interface ApplicationListener<JobExecutionEvent>
public int getExitCode()
ExitCodeGenerator
getExitCode
in interface ExitCodeGenerator
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.