org.springframework.boot
Interface ExitCodeGenerator


public interface ExitCodeGenerator

Interface used to generate an 'exit code' from a running command line SpringApplication.

Author:
Dave Syer
See Also:
SpringApplication.exit(org.springframework.context.ApplicationContext, ExitCodeGenerator...)

Method Summary
 int getExitCode()
          Returns the exit code that should be returned from the application.
 

Method Detail

getExitCode

int getExitCode()
Returns the exit code that should be returned from the application.

Returns:
the exit code.


Copyright © 2013. All Rights Reserved.