Class RunCommand
- java.lang.Object
- org.springframework.boot.cli.command.AbstractCommand
- org.springframework.boot.cli.command.OptionParsingCommand
- org.springframework.boot.cli.command.run.RunCommand
- All Implemented Interfaces:
Command
public class RunCommand extends OptionParsingCommand
Commandto 'run' a groovy script or scripts.- See Also:
SpringApplicationRunner
Constructor Summary
Constructors Constructor Description RunCommand()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUsageHelp()Returns usage help for the command.voidstop()Methods inherited from class org.springframework.boot.cli.command.OptionParsingCommand
getHandler, getHelp, getOptionsHelp, run
Methods inherited from class org.springframework.boot.cli.command.AbstractCommand
getDescription, getExamples, getName
Constructor Detail
RunCommand
public RunCommand()
Method Detail
getUsageHelp
public String getUsageHelp()
Description copied from interface:CommandReturns usage help for the command. This should be a simple one-line string describing basic usage. e.g. '[options] <file>'. Do not include the name of the command in this string.- Specified by:
getUsageHelpin interfaceCommand- Overrides:
getUsageHelpin classAbstractCommand- Returns:
- the command's usage help
stop
public void stop()