public class ScheduleScriptExecuteSubCommand extends java.lang.Object implements ScheduleScriptSubCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
ScheduleScriptExecuteSubCommand(<any> authenticatorServiceProvider,
SchedulerService schedulerService,
ScriptingService scriptService,
NlpTriggerService triggerService) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoCompletEntries(AutocompleteHelper autocompleteHelper,
TerminalSession session) |
boolean |
consumes(CommandParser parser,
TerminalSession session) |
CommandResult |
execute(CommandParser parser,
TerminalSession session) |
java.lang.String |
getBaseCommand() |
public static final java.lang.String BASE_COMMAND
public ScheduleScriptExecuteSubCommand(<any> authenticatorServiceProvider, SchedulerService schedulerService, ScriptingService scriptService, NlpTriggerService triggerService)
public java.lang.String getBaseCommand()
getBaseCommand
in interface SubCommand
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=ScriptingMessages.class,name="execute",description="commandScheduleScript_sub_execute_description",nonOptArgs={@NonOptArgument(name="script",description="commandScheduleScript_sub_setProperty_arg1",mandatory=true),@NonOptArgument(name="expression",description="commandScheduleScript_sub_setProperty_arg2",mandatory=true)}) public CommandResult execute(CommandParser parser, TerminalSession session) throws ObjectResolverException
execute
in interface TerminalCommandHook
ObjectResolverException
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook