类 ExitCodeEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.ExitCodeEvent
- 所有已实现的接口:
Serializable
Event fired when an application exit code has been determined from an
ExitCodeGenerator
.- 从以下版本开始:
- 1.3.2
- 作者:
- Phillip Webb
- 另请参阅:
-
字段概要
从类继承的字段 java.util.EventObject
source
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.springframework.context.ApplicationEvent
getTimestamp
从类继承的方法 java.util.EventObject
getSource, toString
-
构造器详细资料
-
ExitCodeEvent
Create a newExitCodeEvent
instance.- 参数:
source
- the source of the eventexitCode
- the exit code
-
-
方法详细资料
-
getExitCode
public int getExitCode()Return the exit code that will be used to exit the JVM.- 返回:
- the exit code
-