类 ExitCodeEvent

所有已实现的接口:
Serializable

public class ExitCodeEvent extends ApplicationEvent
Event fired when an application exit code has been determined from an ExitCodeGenerator.
从以下版本开始:
1.3.2
作者:
Phillip Webb
另请参阅:
  • 构造器详细资料

    • ExitCodeEvent

      public ExitCodeEvent(Object source, int exitCode)
      Create a new ExitCodeEvent instance.
      参数:
      source - the source of the event
      exitCode - the exit code
  • 方法详细资料

    • getExitCode

      public int getExitCode()
      Return the exit code that will be used to exit the JVM.
      返回:
      the exit code