|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.admin.client.cli.DsFrameworkCliServer
public class DsFrameworkCliServer
This class is handling server group CLI.
| Constructor Summary | |
|---|---|
DsFrameworkCliServer()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DsFrameworkCliServer()
| Method Detail |
|---|
public java.util.Set<SubCommand> getSubCommands()
getSubCommands in interface DsFrameworkCliSubCommandGrouppublic boolean isHidden()
isHidden in interface DsFrameworkCliSubCommandGrouptrue if this subcommand group should be hidden
from the usage information, or false if
not.public java.lang.String getGroupName()
getGroupName in interface DsFrameworkCliSubCommandGroup
public void initializeCliGroup(DsFrameworkCliParser argParser,
BooleanArgument verboseArg)
throws ArgumentException
initializeCliGroup in interface DsFrameworkCliSubCommandGroupargParser - 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.public boolean isSubCommand(SubCommand subCmd)
isSubCommand in interface DsFrameworkCliSubCommandGroupsubCmd - The actual subcommand with input parameter.
public DsFrameworkCliReturnCode performSubCommand(SubCommand subCmd,
java.io.OutputStream outStream,
java.io.OutputStream errStream)
throws ADSContextException,
ArgumentException
performSubCommand in interface DsFrameworkCliSubCommandGroupsubCmd - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||