public class SetPropertyCommand extends java.lang.Object implements ReportModSubCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
SetPropertyCommand(ReportService reportService) |
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 SetPropertyCommand(ReportService reportService)
public java.lang.String getBaseCommand()
getBaseCommand
in interface SubCommand
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=ReportManagerExtMessages.class,name="setProperty",description="commandReportmod_sub_setProperty_description",nonOptArgs={@NonOptArgument(name="identifier",description="commandReportmod_sub_setProperty_arg1",mandatory=true),@NonOptArgument(name="property",description="commandReportmod_sub_setProperty_arg2",mandatory=true),@NonOptArgument(name="value",description="commandReportmod_sub_setProperty_arg3",mandatory=true,varArgs=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