@Order(value=-5) public class InteractiveModeApplicationRunner extends Object implements org.springframework.boot.ApplicationRunner
ApplicationRunner
implementation that determines if the shell should execute
in interactive mode or in a 'stand alone executable' mode. If any arguments are passed
in that do not have the prefix spring.cloud.skipper.client
, 'stand alone
executeable' model will be activated and the arguments will be passed into the shell as
a command to execute and then exit.
This ApplicationRunner
has lower priority than
InitializeConnectionApplicationRunner
.SkipperClientProperties
Constructor and Description |
---|
InteractiveModeApplicationRunner(org.springframework.shell.Shell shell,
org.springframework.core.env.ConfigurableEnvironment environment)
Construct a new InteractiveModeApplicationRunner, given the required shell components.
|
public InteractiveModeApplicationRunner(org.springframework.shell.Shell shell, org.springframework.core.env.ConfigurableEnvironment environment)
shell
- the shellenvironment
- the environmentCopyright © 2018 Pivotal Software, Inc.. All rights reserved.