Package org.springframework.shell
Interface ShellRunner
- All Known Implementing Classes:
InteractiveShellRunner
,NonInteractiveShellRunner
,ScriptShellRunner
public interface ShellRunner
Interface for shell runners.
-
Method Summary
-
Method Details
-
canRun
boolean canRun(org.springframework.boot.ApplicationArguments args) Checks if a particular shell runner can execute.- Parameters:
args
- the application arguments- Returns:
- true if shell runner can execute
-
run
Execute application.- Parameters:
args
- the application argumets- Throws:
Exception
- in errors
-