@Order(value=0) public class InteractiveShellRunner extends Object implements ShellRunner
ShellRunner that bootstraps the shell in interactive mode.
 Has lower precedence than ScriptShellRunner and NonInteractiveShellRunner which makes it the
 default shell runner when the other runners opt-out of handling the shell.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | InteractiveShellRunner.JLineInputProvider | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | PRECEDENCEThe precedence at which this runner is ordered by the DefaultApplicationRunner - which also controls
 the order it is consulted on the ability to handle the current shell. | 
| Constructor and Description | 
|---|
| InteractiveShellRunner(org.jline.reader.LineReader lineReader,
                      PromptProvider promptProvider,
                      Shell shell,
                      ShellContext shellContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canRun(org.springframework.boot.ApplicationArguments args)Checks if a particular shell runner can execute. | 
| void | run(org.springframework.boot.ApplicationArguments args)Execute application. | 
public static final int PRECEDENCE
public InteractiveShellRunner(org.jline.reader.LineReader lineReader,
                              PromptProvider promptProvider,
                              Shell shell,
                              ShellContext shellContext)
public void run(org.springframework.boot.ApplicationArguments args)
         throws Exception
ShellRunnerrun in interface ShellRunnerargs - the application argumetsException - in errorspublic boolean canRun(org.springframework.boot.ApplicationArguments args)
ShellRunnercanRun in interface ShellRunnerargs - the application argumentsCopyright © 2022. All rights reserved.