@Order(value=-100) public class ScriptShellApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
Has higher precedence than InteractiveShellApplicationRunner
so that it
prevents it to run if scripts are found.
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED |
static String |
SPRING_SHELL_SCRIPT |
static String |
SPRING_SHELL_SCRIPT_ENABLED
The name of the environment property that allows to disable the behavior of this
runner.
|
Constructor and Description |
---|
ScriptShellApplicationRunner(org.jline.reader.Parser parser,
Shell shell,
org.springframework.core.env.ConfigurableEnvironment environment) |
public static final String SPRING_SHELL_SCRIPT
public static final String ENABLED
public static final String SPRING_SHELL_SCRIPT_ENABLED
public ScriptShellApplicationRunner(org.jline.reader.Parser parser, Shell shell, org.springframework.core.env.ConfigurableEnvironment environment)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.