Class ExitCodeEvent

All Implemented Interfaces:
Serializable

public class ExitCodeEvent extends ApplicationEvent
Event fired when an application exit code has been determined from an ExitCodeGenerator.
Since:
1.3.2
Author:
Phillip Webb
See Also:
  • Constructor Details

    • ExitCodeEvent

      public ExitCodeEvent(Object source, int exitCode)
      Create a new ExitCodeEvent instance.
      Parameters:
      source - the source of the event
      exitCode - the exit code
  • Method Details

    • getExitCode

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