@Retention(value=RUNTIME) @Target(value=FIELD) public @interface OptionGroup
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends OptionActivator> |
activator
Define an activator for this option.
|
Class<? extends OptionCompleter> |
completer
Define a completer for this option.
|
Class<? extends Converter> |
converter
Define a converter if the field is a type thats not java.lang and other
common types, eg: File,++
See ClConverterManager for whats added by default
|
String[] |
defaultValue
If this options has a value the default will be auto completed if it matches
the value already typed
|
String |
description
A description of the param.
|
String |
name
The name of the option param.
|
Class<? extends OptionRenderer> |
renderer
Define a renderer
|
boolean |
required
Specify if this option is required
|
char |
shortName
The short option name.
|
Class<? extends OptionValidator> |
validator
Define a validator for this option.
|
public abstract String name
public abstract String description
public abstract String[] defaultValue
public abstract Class<? extends OptionCompleter> completer
public abstract Class<? extends OptionValidator> validator
public abstract Class<? extends OptionActivator> activator
public abstract Class<? extends OptionRenderer> renderer
Copyright © 2024 JBoss by Red Hat. All rights reserved.