public class CLAFactory extends Object
CLAFactory class.
| Modifier and Type | Field and Description |
|---|---|
Boolean |
camelCaps |
Boolean |
caseSensitive |
String[] |
defaultValue |
String |
enumList |
String |
factoryArgName |
String |
factoryMethod |
String |
format |
String |
help |
String |
instanceClass |
String[] |
key |
String[] |
list |
Boolean |
metaphone |
Integer[] |
multiple |
Boolean |
positional |
String[] |
range |
String |
regx |
Boolean |
required |
ClaType |
type |
Integer |
uniqueId |
String |
variable |
| Modifier and Type | Method and Description |
|---|---|
static CLAFactory |
getInstance()
Getter for the field
instance. |
ICmdLineArg<?> |
instanceFor(char commandPrefix,
Field p_oneField,
Arg argAnnotation)
Set all of the instance variables as if the parser had done it instead of
how we are doing it here with annotations.
|
static Class<?> |
instanceType(Field oneField)
instanceType.
|
static void |
reset()
reset.
|
public Integer uniqueId
public ClaType type
public String variable
public String[] key
public Boolean positional
public Integer[] multiple
public Boolean camelCaps
public Boolean metaphone
public String instanceClass
public String factoryMethod
public String factoryArgName
public String[] defaultValue
public String[] range
public String regx
public String[] list
public String enumList
public String format
public Boolean required
public Boolean caseSensitive
public String help
public static CLAFactory getInstance()
Getter for the field instance.
CLAFactory object.public static void reset()
reset.
public ICmdLineArg<?> instanceFor(char commandPrefix, Field p_oneField, Arg argAnnotation) throws ParseException, IOException
commandPrefix - a char.p_oneField - a Field object.argAnnotation - a Arg
object.ICmdLineArg object.ParseException - if any.IOException - if any.