Package | Description |
---|---|
org.netbeans.spi.sendopts |
Package for those that want to write a
command line handler
that can participate on handling parts of a
command line send to the application.
|
Modifier and Type | Method and Description |
---|---|
static Option |
Option.additionalArguments(char shortName,
String longName)
Creates an option that can accept
additional arguments . |
static Option |
OptionGroups.allOf(Option... options)
Creates a compound option that forces all of the sub options
to appear on the command line.
|
static Option |
Option.always()
Creates an option that is always present.
|
static Option |
OptionGroups.anyOf(Option... options)
A voluntary selector that allows any of the specified options to appear
on the command line, but if they do not appear, the command line is
still consistent.
|
static Option |
Option.defaultArguments()
Creates a default option that accepts
additional arguments
not claimed by any other option. |
static Option |
Option.displayName(Option option,
String bundleName,
String key)
Associates a name with given option.
|
static Option |
OptionGroups.oneOf(Option... options)
Creates a selector option that forces exactly one of the sub options
to appear on the command line.
|
static Option |
Option.optionalArgument(char shortName,
String longName)
Factory method for option that may, but does not need to have an argument.
|
static Option |
Option.requiredArgument(char shortName,
String longName)
Factory method for option has to be followed by one argument.
|
static Option |
Option.shortDescription(Option option,
String bundleName,
String key)
Associates a short textual description with given option.
|
static Option |
OptionGroups.someOf(Option... options)
Combines a set of multiple options into one compound one.
|
static Option |
Option.withoutArgument(char shortName,
String longName)
Factory method that creates an option without any arguments.
|
Modifier and Type | Method and Description |
---|---|
static Option |
OptionGroups.allOf(Option... options)
Creates a compound option that forces all of the sub options
to appear on the command line.
|
static Option |
OptionGroups.anyOf(Option... options)
A voluntary selector that allows any of the specified options to appear
on the command line, but if they do not appear, the command line is
still consistent.
|
static Option |
Option.displayName(Option option,
String bundleName,
String key)
Associates a name with given option.
|
static Option |
OptionGroups.oneOf(Option... options)
Creates a selector option that forces exactly one of the sub options
to appear on the command line.
|
static Option |
Option.shortDescription(Option option,
String bundleName,
String key)
Associates a short textual description with given option.
|
static Option |
OptionGroups.someOf(Option... options)
Combines a set of multiple options into one compound one.
|