@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Arguments
Modifier and Type | Optional Element and Description |
---|---|
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.
|
Class<?> |
type
Option type, default is String.class
|
Class<? extends OptionValidator> |
validator
Define a validator for this option.
|
char |
valueSeparator
Specify the value separator between arguments.
|
public abstract String description
public abstract Class<?> type
public abstract char valueSeparator
public abstract String[] defaultValue
public abstract Class<? extends OptionCompleter> completer
public abstract Class<? extends OptionValidator> validator
Copyright © 2016 JBoss by Red Hat. All rights reserved.