Package org.kohsuke.args4j.spi
Class ConfigElement
- java.lang.Object
-
- org.kohsuke.args4j.spi.ConfigElement
-
public class ConfigElement extends java.lang.Object
The ConfigElement is an <option> or <argument> tag in the xml configuration file.- Author:
- Jan Materne
-
-
Constructor Summary
Constructors Constructor Description ConfigElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInvalid()
Ensures that only a field XOR a method is set.
-
-
-
Field Detail
-
field
public java.lang.String field
-
method
public java.lang.String method
-
name
public java.lang.String name
-
usage
public java.lang.String usage
-
handler
public java.lang.String handler
-
metavar
public java.lang.String metavar
-
aliases
public java.lang.String[] aliases
-
multiValued
public boolean multiValued
-
required
public boolean required
-
hidden
public boolean hidden
-
-