public static class AeshExample.RunCommand extends java.lang.Object implements Command
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Resource> |
arguments |
| Constructor and Description |
|---|
RunCommand() |
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(CommandInvocation commandInvocation)
Will be executed when this command is triggered by the command line.
|
private java.util.List<java.lang.String> |
readScriptFile(Resource resource) |
private java.util.List<Resource> arguments
public CommandResult execute(CommandInvocation commandInvocation) throws java.io.IOException, java.lang.InterruptedException
Commandprivate java.util.List<java.lang.String> readScriptFile(Resource resource) throws java.io.IOException
java.io.IOException