|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.client.cli.DsFrameworkCliAds
public class DsFrameworkCliAds
This class is handling server group CLI.
Field Summary | |
---|---|
SubCommand |
createAdsSubCmd
The 'create-ads' subcommand. |
Constructor Summary | |
---|---|
DsFrameworkCliAds()
|
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 |
Field Detail |
---|
public SubCommand createAdsSubCmd
Constructor Detail |
---|
public DsFrameworkCliAds()
Method Detail |
---|
public java.util.Set<SubCommand> getSubCommands()
getSubCommands
in interface DsFrameworkCliSubCommandGroup
public boolean isHidden()
isHidden
in interface DsFrameworkCliSubCommandGroup
true
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 DsFrameworkCliSubCommandGroup
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.public boolean isSubCommand(SubCommand subCmd)
isSubCommand
in interface DsFrameworkCliSubCommandGroup
subCmd
- 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 DsFrameworkCliSubCommandGroup
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |