@Order(value=-20) public class HelpAwareShellApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
ApplicationRunner that print a help-text to the console in case
the help command-line option was provided and will also exit the application in that case.InitializeConnectionApplicationRunner| Constructor and Description |
|---|
HelpAwareShellApplicationRunner() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getInputStream(Class<?> loadingClass,
String filename) |
void |
run(org.springframework.boot.ApplicationArguments args) |
public void run(org.springframework.boot.ApplicationArguments args)
throws Exception
run in interface org.springframework.boot.ApplicationRunnerExceptionpublic static InputStream getInputStream(Class<?> loadingClass, String filename)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.