|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ldap.clients.Opts
public abstract class Opts
Command line option bean
| Field Summary | |
|---|---|
protected static java.lang.String |
BASEDN_OPT
Base DN command line option |
protected static Option |
baseDnOption
|
protected static java.lang.String |
BINDDN_OPT
Bind DN command line option |
protected static Option |
bindDnOption
|
protected static java.lang.String |
FILE_OPT
File input command line option |
protected static Option |
fileOption
|
protected static java.lang.String |
HOST_OPT
Host name option |
protected static Option |
hostOption
|
protected static java.lang.String |
MAX_ENTRIES_OPT
Maximum number of entries returned to the client |
protected static java.lang.String |
MAX_TIME_OPT
The maximum number of seconds to wait for a response from the server |
protected static Option |
maxEntriesOption
|
protected static Option |
maxTimeOption
|
protected static java.lang.String |
NOTHING_OPT
Dry run command line option |
protected static Option |
nothingOption
|
protected static java.lang.String |
PASSWORD_OPT
Bind DN Password command line option |
protected static Option |
passwordOption
|
protected static java.lang.String |
PORT_OPT
port number command line option |
protected static Option |
portOption
|
protected static java.lang.String |
PROTOCOL_OPT
Protocol version command line option |
protected static Option |
protocolOption
|
protected static java.lang.String |
QUIET_OPT
Mode will only display entry DNs, no attributes |
protected static Option |
quietOption
|
protected static java.lang.String |
SCOPE_OPT
Search Scope: base - only the base DN one - only the current subtree level sub - the entire tree |
protected static Option |
scopeOption
|
protected static java.lang.String |
TYPES_OPT
This mode will only display attribute name, no values |
protected static Option |
typesOption
|
protected static java.lang.String |
VERBOSE_OPT
Verbose mode command line option |
protected static Option |
verboseOption
|
| Constructor Summary | |
|---|---|
Opts()
|
|
| Method Summary | |
|---|---|
protected CommandLine |
getParser(java.lang.String[] argv,
Options options)
Matches the command line string into the options of the command line parser |
boolean |
isProcessed()
Determine if the command line has been processed |
abstract void |
process(java.lang.String[] argv)
Abstract of the command line parsing process method |
void |
setProcessed()
Sets the processed flag to true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String HOST_OPT
protected static final Option hostOption
protected static final java.lang.String PORT_OPT
protected static final Option portOption
protected static final java.lang.String BINDDN_OPT
protected static final Option bindDnOption
protected static final java.lang.String NOTHING_OPT
protected static final Option nothingOption
protected static final java.lang.String PROTOCOL_OPT
protected static final Option protocolOption
protected static final java.lang.String PASSWORD_OPT
protected static final Option passwordOption
protected static final java.lang.String VERBOSE_OPT
protected static final Option verboseOption
protected static final java.lang.String FILE_OPT
protected static final Option fileOption
protected static final java.lang.String BASEDN_OPT
protected static final Option baseDnOption
protected static final java.lang.String SCOPE_OPT
protected static final Option scopeOption
protected static final java.lang.String QUIET_OPT
protected static final Option quietOption
protected static final java.lang.String TYPES_OPT
protected static final Option typesOption
protected static final java.lang.String MAX_ENTRIES_OPT
protected static final Option maxEntriesOption
protected static final java.lang.String MAX_TIME_OPT
protected static final Option maxTimeOption
| Constructor Detail |
|---|
public Opts()
| Method Detail |
|---|
protected CommandLine getParser(java.lang.String[] argv,
Options options)
throws ParseException
argv - The actual command line string
ParseException - if any of the command line option is incorrectpublic boolean isProcessed()
public void setProcessed()
public abstract void process(java.lang.String[] argv)
throws ParseException
argv - Command line arguments
ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||