类 JobExecutionExitCodeGenerator
java.lang.Object
org.springframework.boot.autoconfigure.batch.JobExecutionExitCodeGenerator
public class JobExecutionExitCodeGenerator
extends Object
implements ApplicationListener<JobExecutionEvent>, ExitCodeGenerator
- 从以下版本开始:
- 1.0.0
- 作者:
- Dave Syer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
Returns the exit code that should be returned from the application.void
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.context.ApplicationListener
supportsAsyncExecution
-
构造器详细资料
-
JobExecutionExitCodeGenerator
public JobExecutionExitCodeGenerator()
-
-
方法详细资料
-
onApplicationEvent
-
getExitCode
public int getExitCode()从接口复制的说明:ExitCodeGenerator
Returns the exit code that should be returned from the application.- 指定者:
getExitCode
在接口中ExitCodeGenerator
- 返回:
- the exit code.
-