Some of the methods used to access the values of options
have names that begin with a verb, such as expandRequires
or ignoreSourceErrors
. Unless otherwise stated,
these methods should all be taken as just accessing the value
of the associated option.
Modifier and Type | Class and Description |
---|---|
pack-priv static interface | |
pack-priv static class | ToolOptions.
Base class for all supported tool options. |
Modifier and Type | Field and Description |
---|---|
pack-priv static final String | |
private boolean | breakIterator
Argument for command-line option |
private final OptionHelper | compilerOptionHelper
The "helper" to be used when processing compiler options. |
private final Options | compOpts
Options to be given to the underlying compiler front-end, such as options to indicate the source level to be used. |
pack-priv static final String | |
pack-priv static final String | |
pack-priv static final String | |
private boolean | dumpOnError
Argument for command-line option |
private List | excludes
Argument for command-line option |
private AccessLevel | expandRequires
Argument for command-line option |
private final Map | fileManagerOpts
Options to be given to the file manager, such as path options indicating where to find files to be documented. |
private boolean | ignoreSourceErrors
Argument for command-line option |
pack-priv static final String | |
pack-priv static final String | |
private final JavadocLog | log
The log to be used to report diagnostics.. |
private List | modules
Argument for command-line option |
private boolean | quiet
Argument for command-line option |
private boolean | rejectWarnings
Argument for command-line option |
private final ToolOptions. | showHelper
The helper for help and version options |
private AccessLevel | showMembersAccess
Argument for command-line option |
private AccessLevel | showModuleContents
Argument for command-line option |
private AccessLevel | showPackagesAccess
Argument for command-line option |
private AccessLevel | showTypesAccess
Argument for command-line option |
private List | subpackages
Argument for command-line option |
private List | |
private boolean | verbose
Argument for command-line option |
private boolean | xclasses
Argument for command-line option |
Access | Constructor and Description |
---|---|
pack-priv | ToolOptions(Context
the context used to find other tool-related components context, JavadocLog the log to be used to report diagnostics log, ToolOptions.Creates an object to handle tool options. |
private |
Modifier and Type | Method and Description |
---|---|
pack-priv boolean | |
pack-priv Options | Returns: the optionsReturns the set of options to be used for the instance of the underlying compiler front-end. |
pack-priv boolean | |
pack-priv List | |
pack-priv AccessLevel | |
pack-priv Map | |
private AccessLevel | |
pack-priv ToolOptions. | |
private OptionHelper | |
public List | Returns: the set of optionsReturns the set of options supported by the tool, excluding any options that are managed by the doclet that may be in use. |
pack-priv boolean | |
private IllegalOptionValue | Returns: the exceptionthe argument to include in the detail message arg)Returns an |
public static int | Returns: the number of arguments the given option takes or -1 if the option is not supportedan option option)Determines if the given option is supported and if so, the number of arguments the option takes. |
pack-priv List | |
pack-priv void | processCompilerOption(Option
the option object to process the command-line option option, String the command-line option opt)Process a compiler option. |
private void | processCompilerOption(Option
the option object to process the command-line option option, String the command-line option opt, String the argument for the command-line option arg)Process a compiler option. |
pack-priv boolean | |
pack-priv boolean | |
private void | |
private void | |
pack-priv void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
private void | |
pack-priv AccessLevel | |
pack-priv AccessLevel | |
pack-priv AccessLevel | |
pack-priv AccessLevel | |
pack-priv List | |
pack-priv boolean | |
pack-priv boolean |
AT | back to summary |
---|---|
pack-priv static final String AT |
breakIterator | back to summary |
---|---|
private boolean breakIterator Argument for command-line option |
compilerOptionHelper | back to summary |
---|---|
private final OptionHelper compilerOptionHelper The "helper" to be used when processing compiler options. |
compOpts | back to summary |
---|---|
private final Options compOpts Options to be given to the underlying compiler front-end, such as options to indicate the source level to be used. |
DOCLET | back to summary |
---|---|
pack-priv static final String DOCLET |
DOCLET_PATH | back to summary |
---|---|
pack-priv static final String DOCLET_PATH |
DUMP_ON_ERROR | back to summary |
---|---|
pack-priv static final String DUMP_ON_ERROR |
dumpOnError | back to summary |
---|---|
private boolean dumpOnError Argument for command-line option |
excludes | back to summary |
---|---|
private List<String> excludes Argument for command-line option |
expandRequires | back to summary |
---|---|
private AccessLevel expandRequires Argument for command-line option |
fileManagerOpts | back to summary |
---|---|
private final Map<Option, String> fileManagerOpts Options to be given to the file manager, such as path options indicating where to find files to be documented. |
ignoreSourceErrors | back to summary |
---|---|
private boolean ignoreSourceErrors Argument for command-line option |
J | back to summary |
---|---|
pack-priv static final String J |
LOCALE | back to summary |
---|---|
pack-priv static final String LOCALE |
log | back to summary |
---|---|
private final JavadocLog log The log to be used to report diagnostics.. |
modules | back to summary |
---|---|
private List<String> modules Argument for command-line option |
quiet | back to summary |
---|---|
private boolean quiet Argument for command-line option |
rejectWarnings | back to summary |
---|---|
private boolean rejectWarnings Argument for command-line option |
showHelper | back to summary |
---|---|
private final ToolOptions. The helper for help and version options |
showMembersAccess | back to summary |
---|---|
private AccessLevel showMembersAccess Argument for command-line option |
showModuleContents | back to summary |
---|---|
private AccessLevel showModuleContents Argument for command-line option |
showPackagesAccess | back to summary |
---|---|
private AccessLevel showPackagesAccess Argument for command-line option |
showTypesAccess | back to summary |
---|---|
private AccessLevel showTypesAccess Argument for command-line option |
subpackages | back to summary |
---|---|
private List<String> subpackages Argument for command-line option |
supportedOptions | back to summary |
---|---|
private List<ToolOptions. |
verbose | back to summary |
---|---|
private boolean verbose Argument for command-line option |
xclasses | back to summary |
---|---|
private boolean xclasses Argument for command-line option |
ToolOptions | back to summary |
---|---|
pack-priv ToolOptions(Context context, JavadocLog log, ToolOptions. Creates an object to handle tool options.
|
ToolOptions | back to summary |
---|---|
private ToolOptions() Creates a minimal object, just sufficient to check the names of the supported options. |
breakIterator | back to summary |
---|---|
pack-priv boolean breakIterator() Argument for command-line option |
compilerOptions | back to summary |
---|---|
pack-priv Options compilerOptions() Returns the set of options to be used for the instance of the underlying compiler front-end.
|
dumpOnError | back to summary |
---|---|
pack-priv boolean dumpOnError() Argument for command-line option |
excludes | back to summary |
---|---|
pack-priv List Argument for command-line option |
expandRequires | back to summary |
---|---|
pack-priv AccessLevel expandRequires() Argument for command-line option |
fileManagerOptions | back to summary |
---|---|
pack-priv Map Returns the set of options to be used for the file manager. |
getAccessValue | back to summary |
---|---|
private AccessLevel getAccessValue(String arg) throws OptionException |
getOption | back to summary |
---|---|
pack-priv ToolOptions. Returns the option to be used to process an argument such as may be found on the command line.
|
getOptionHelper | back to summary |
---|---|
private OptionHelper getOptionHelper() Returns a "helper" to be used when processing compiler options.
|
getSupportedOptions | back to summary |
---|---|
public List Returns the set of options supported by the tool, excluding any options that are managed by the doclet that may be in use.
|
ignoreSourceErrors | back to summary |
---|---|
pack-priv boolean ignoreSourceErrors() Argument for command-line option |
illegalOptionValue | back to summary |
---|---|
private IllegalOptionValue illegalOptionValue(String arg) Returns an
|
isSupportedOption | back to summary |
---|---|
public static int isSupportedOption(String option) Determines if the given option is supported and if so, the number of arguments the option takes.
|
modules | back to summary |
---|---|
pack-priv List Argument for command-line option |
processCompilerOption | back to summary |
---|---|
pack-priv void processCompilerOption(Option option, String opt) throws InvalidValueException Process a compiler option.
|
processCompilerOption | back to summary |
---|---|
private void processCompilerOption(Option option, String opt, String arg) throws InvalidValueException Process a compiler option.
|
quiet | back to summary |
---|---|
pack-priv boolean quiet() Argument for command-line option |
rejectWarnings | back to summary |
---|---|
pack-priv boolean rejectWarnings() Argument for command-line option |
setAccess | back to summary |
---|---|
private void setAccess(AccessLevel accessValue) |
setAccessDefault | back to summary |
---|---|
private void setAccessDefault() |
setDumpOnError | back to summary |
---|---|
pack-priv void setDumpOnError(boolean v) |
setExpandRequires | back to summary |
---|---|
private void setExpandRequires(String arg) throws OptionException |
setShowMembersAccess | back to summary |
---|---|
private void setShowMembersAccess(String arg) throws OptionException |
setShowModuleContents | back to summary |
---|---|
private void setShowModuleContents(String arg) throws OptionException |
setShowPackageAccess | back to summary |
---|---|
private void setShowPackageAccess(String arg) throws OptionException |
setShowTypesAccess | back to summary |
---|---|
private void setShowTypesAccess(String arg) throws OptionException |
setSimpleAccessOption | back to summary |
---|---|
private void setSimpleAccessOption(String arg) throws OptionException |
setSimpleFilter | back to summary |
---|---|
private void setSimpleFilter(String arg) throws OptionException |
setVerbose | back to summary |
---|---|
private void setVerbose() |
showMembersAccess | back to summary |
---|---|
pack-priv AccessLevel showMembersAccess() Argument for command-line option |
showModuleContents | back to summary |
---|---|
pack-priv AccessLevel showModuleContents() Argument for command-line option |
showPackagesAccess | back to summary |
---|---|
pack-priv AccessLevel showPackagesAccess() Argument for command-line option |
showTypesAccess | back to summary |
---|---|
pack-priv AccessLevel showTypesAccess() Argument for command-line option |
subpackages | back to summary |
---|---|
pack-priv List Argument for command-line option |
verbose | back to summary |
---|---|
pack-priv boolean verbose() Argument for command-line option |
xclasses | back to summary |
---|---|
pack-priv boolean xclasses() Argument for command-line option |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | usage()
Show command-line help for the standard options, as requested by
the |
public void | |
public void | Xusage()
Show command-line help for the extended options, as requested by
the |
fullVersion | back to summary |
---|---|
public void fullVersion() Show the full version information, as requested by the |
usage | back to summary |
---|---|
public void usage() Show command-line help for the standard options, as requested by
the |
version | back to summary |
---|---|
public void version() Show the basic version information, as requested by the |
Xusage | back to summary |
---|---|
public void Xusage() Show command-line help for the extended options, as requested by
the |
Modifier and Type | Class and Description |
---|---|
pack-priv static enum |
Modifier and Type | Field and Description |
---|---|
pack-priv final boolean | |
pack-priv final boolean | |
pack-priv final ToolOptions. | |
pack-priv final List | |
pack-priv final String |
Access | Constructor and Description |
---|---|
pack-priv | |
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv String | |
private String | |
pack-priv List | |
pack-priv String | |
pack-priv void | |
pack-priv void |
hasArg | back to summary |
---|---|
pack-priv final boolean hasArg |
hasSuffix | back to summary |
---|---|
pack-priv final boolean hasSuffix |
kind | back to summary |
---|---|
pack-priv final ToolOptions. |
names | back to summary |
---|---|
pack-priv final List<String> names |
primaryName | back to summary |
---|---|
pack-priv final String primaryName |
ToolOption | back to summary |
---|---|
pack-priv ToolOption(String opt, ToolOptions. |
ToolOption | back to summary |
---|---|
pack-priv ToolOption(String names, ToolOptions. |
getDescription | back to summary |
---|---|
pack-priv String getDescription(JavadocLog log) |
getKey | back to summary |
---|---|
private String getKey(String optionName, String suffix) |
getNames | back to summary |
---|---|
pack-priv List |
getParameters | back to summary |
---|---|
pack-priv String getParameters(JavadocLog log) |
process | back to summary |
---|---|
pack-priv void process(String arg) throws OptionException, InvalidValueException |
process | back to summary |
---|---|
pack-priv void process() throws OptionException, InvalidValueException |
Modifier and Type | Field and Description |
---|---|
public static final ToolOptions. | |
public static final ToolOptions. | |
public static final ToolOptions. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static ToolOptions. | |
public static ToolOptions. |
EXTENDED | back to summary |
---|---|
public static final ToolOptions. |
HIDDEN | back to summary |
---|---|
public static final ToolOptions. |
STANDARD | back to summary |
---|---|
public static final ToolOptions. |
Kind | back to summary |
---|---|
private Kind() |
valueOf | back to summary |
---|---|
public static ToolOptions. |
values | back to summary |
---|---|
public static ToolOptions. |