Package org.springframework.boot
Interface ExitCodeGenerator
- All Known Implementing Classes:
 JobExecutionExitCodeGenerator
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Interface used to generate an 'exit code' from a running command line
 
SpringApplication. Can be used on exceptions as well as directly on beans.- Since:
 - 1.0.0
 - Author:
 - Dave Syer
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionintReturns the exit code that should be returned from the application. 
- 
Method Details
- 
getExitCode
int getExitCode()Returns the exit code that should be returned from the application.- Returns:
 - the exit code.
 
 
 -