[Groovy] Class CliBuilder
- groovy.util.CliBuilder
@Deprecated class CliBuilder extends Object
- deprecated:
- use
groovy.cli.picocli.CliBuilder
or CliBuilder instead.
Properties Summary
Type | Name and description |
---|---|
HelpFormatter |
formatter |
CommandLineParser |
parser |
Constructor Summary
Constructor and description |
---|
CliBuilder
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
HelpFormatter |
getFormatter()
| |
CommandLineParser |
getParser()
| |
Object |
invokeMethod(String name, Object args) | |
OptionAccessor |
parse(Object args) | |
void |
setFormatter(HelpFormatter formatter)
| |
void |
setParser(CommandLineParser parser)
|
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
HelpFormatter formatter
CommandLineParser parser
Constructor Detail
CliBuilder()
Method Detail
@Deprecated HelpFormatter getFormatter()
- deprecated:
- This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.
@Deprecated CommandLineParser getParser()
- deprecated:
- This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.
Object invokeMethod(String name, Object args)
OptionAccessor parse(Object args)
@Deprecated void setFormatter(HelpFormatter formatter)
- deprecated:
- This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.
@Deprecated void setParser(CommandLineParser parser)
- deprecated:
- This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/CliBuilder.html