JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
addOptionsFromAnnotations(java.lang.Class, boolean)
- Method in
CliBuilder
adjustDetails(java.util.Map)
- Method in
CliBuilder
arguments()
- Method in
OptionAccessor
B
C
CliBuilder
- Class in
groovy.cli.commons
Provides a builder to assist the processing of command line arguments.
CliBuilder()
- Constructor in
CliBuilder
commandLine
- Property in
OptionAccessor
D
defaultValue(java.lang.String)
- Method in
OptionAccessor
E
expandArgumentFiles
- Property in
CliBuilder
Whether arguments of the form '
@
filename
' will be expanded into the arguments contained within the file named
filename
(default true).
F
footer
- Property in
CliBuilder
Optional additional message for usage; displayed after the options are displayed.
formatter
- Property in
CliBuilder
Normally set internally but can be overridden if you want to customise how the usage message is displayed.
G
getAt(TypedOption<T>, T)
- Method in
OptionAccessor
getOptionValue(TypedOption<T>, T)
- Method in
OptionAccessor
getProperty(java.lang.String)
- Method in
OptionAccessor
H
hasOption(groovy.cli.TypedOption)
- Method in
OptionAccessor
header
- Property in
CliBuilder
Optional additional message for usage; displayed after the usage summary but before the options are displayed.
I
invokeMethod(java.lang.String, java.lang.Object)
- Method in
CliBuilder
Internal method: Detect option specification method calls.
invokeMethod(java.lang.String, java.lang.Object)
- Method in
OptionAccessor
J
K
L
M
N
O
option(java.lang.Object, java.util.Map, java.lang.Object)
- Method in
CliBuilder
Internal method: How to create an option from the specification.
OptionAccessor
- Class in
groovy.cli.commons
OptionAccessor(org.apache.commons.cli.CommandLine)
- Constructor in
OptionAccessor
options
- Property in
CliBuilder
Not normally accessed directly but full access to underlying options if needed.
P
parse(java.lang.Object)
- Method in
CliBuilder
Make options accessible from command line args with parser.
parseFromInstance(T, java.lang.Object)
- Method in
CliBuilder
Given an instance containing members with annotations, derive the options specification.
parseFromSpec(Class<T>, java.lang.String)
- Method in
CliBuilder
Given an interface containing members with annotations, derive the options specification.
parser
- Property in
CliBuilder
Normally set internally but allows you full customisation of the underlying processing engine.
posix
- Property in
CliBuilder
To change from the default PosixParser to the GnuParser, set this to false.
Q
R
S
savedTypeOptions
- Property in
CliBuilder
savedTypeOptions
- Property in
OptionAccessor
setOptionsFromAnnotations(java.lang.Object, java.lang.Class, java.lang.Object, boolean)
- Method in
CliBuilder
stopAtNonOption
- Property in
CliBuilder
Indicates that option processing should continue for all arguments even if arguments not recognized as options are encountered (default true).
T
U
usage
- Property in
CliBuilder
Usage summary displayed as the first line when
cli.usage()
is called.
V
W
width
- Property in
CliBuilder
Allows customisation of the usage message width.
writer
- Property in
CliBuilder
Defaults to stdout but you can provide your own PrintWriter if desired.
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.