@ShellComponent public class Script extends AbstractShellComponent
Modifier and Type | Class and Description |
---|---|
static interface |
Script.Command
Marker interface for beans providing script functionality to the shell.
|
Constructor and Description |
---|
Script(org.jline.reader.Parser parser) |
Modifier and Type | Method and Description |
---|---|
void |
script(File file) |
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, setApplicationContext, setResourceLoader
@ShellMethod(value="Read and execute commands from a file.") public void script(File file) throws Exception
Exception
Copyright © 2024. All rights reserved.