org.springframework.boot

Class ExitCodeEvent

    • Constructor Detail

      • ExitCodeEvent

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

      • getExitCode

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