public class OptionCollector extends Object
Options into an Options instance for a giving type.
The method traverses the class hierarchy collecting all options from all supertypes.CliOption annotated fields and resolves CliOptionGroup fields.| Constructor and Description |
|---|
OptionCollector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.cli.Options |
collectFrom(Class type)
Collects all Options for a given type.
|
public org.apache.commons.cli.Options collectFrom(Class type)
type - the type to collect options fromCopyright © 2016 DevCon5 GmbH. All rights reserved.