public class RemovePropertyCommand extends java.lang.Object implements ReportModSubCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
RemovePropertyCommand(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 RemovePropertyCommand(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="removeProperty",description="commandReportmod_sub_removeProperty_description",nonOptArgs={@NonOptArgument(name="identifier",description="commandReportmod_sub_removeProperty_arg1",mandatory=true),@NonOptArgument(name="property",description="commandReportmod_sub_removeProperty_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