@FunctionalInterface public interface ExitCodeGenerator
SpringApplication
. Can be used on exceptions as well as directly on beans.SpringApplication.exit(org.springframework.context.ApplicationContext,
ExitCodeGenerator...)
Modifier and Type | Method and Description |
---|---|
int |
getExitCode()
Returns the exit code that should be returned from the application.
|
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.