public class IfsHelpCommand extends IfsCommand
Inputs:
Constructor and Description |
---|
IfsHelpCommand()
Defualt Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDetailedHelpResourceKey(Object key,
String resourceKey) |
void |
addUsageHelpResourceKey(Object key,
String resourceKey) |
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CommandContext context)
Execute a CommandContext.
|
protected void |
execute(HelpContext context)
Executes a HelpContext.
|
populateNestedCommands, postExecute, preExecute, run
protected void execute(CommandContext context) throws IfsException
execute
in class IfsCommand
context
- the command context.IfsException
- if execution failsprotected void execute(HelpContext context) throws IfsException
IfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
CommandContext
.IfsException
CommandContext
Copyright © 2023. All rights reserved.