接口的使用
org.springframework.boot.ExitCodeGenerator
使用ExitCodeGenerator的程序包
程序包
说明
Core Spring Boot classes.
Auto-configuration for Spring Batch.
-
org.springframework.boot中ExitCodeGenerator的使用
修饰符和类型方法说明static intSpringApplication.exit(ApplicationContext context, ExitCodeGenerator... exitCodeGenerators) Static helper that can be used to exit aSpringApplicationand obtain a code indicating success (0) or otherwise. -
org.springframework.boot.autoconfigure.batch中ExitCodeGenerator的使用