|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DsFrameworkCliSubCommandGroup
This Interface defines method that a group of subcommand shoud implement.
| Method Summary | |
|---|---|
java.lang.String |
getGroupName()
Indicates subcommand group name. |
java.util.Set<SubCommand> |
getSubCommands()
Get the subcommands list. |
void |
initializeCliGroup(DsFrameworkCliParser argParser,
BooleanArgument verboseArg)
Initialize subcommand related to server group management. |
boolean |
isHidden()
Indicates whether this subcommand group should be hidden from the usage information. |
boolean |
isSubCommand(SubCommand subCmd)
Indicates if the provided suncommand is part of this group. |
DsFrameworkCliReturnCode |
performSubCommand(SubCommand subCmd,
java.io.OutputStream outStream,
java.io.OutputStream errStream)
Handle the subcommand. |
| Method Detail |
|---|
void initializeCliGroup(DsFrameworkCliParser argParser,
BooleanArgument verboseArg)
throws ArgumentException
argParser - The parser in which we should be registered.verboseArg - The verbose Argument.
ArgumentException - If there is a problem with any of the parameters used
to create this argument.boolean isSubCommand(SubCommand subCmd)
subCmd - The actual subcommand with input parameter.
DsFrameworkCliReturnCode performSubCommand(SubCommand subCmd,
java.io.OutputStream outStream,
java.io.OutputStream errStream)
throws ADSContextException,
ArgumentException
subCmd - The actual subcommand with input parameteroutStream - The output stream to use for standard output.errStream - The output stream to use for standard error.
ADSContextException - If there is a problem with when trying to perform the
operation.
ArgumentException - If there is a problem with any of the parameters used
to execute this subcommand.java.util.Set<SubCommand> getSubCommands()
boolean isHidden()
true if this subcommand group should be hidden
from the usage information, or false if
not.java.lang.String getGroupName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||