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

### Field Summary

Fields
`java.lang.String[]` `aliases`
`java.lang.String` `field`
`java.lang.String` `handler`
`boolean` `hidden`
`java.lang.String` `metavar`
`java.lang.String` `method`
`boolean` `multiValued`
`java.lang.String` `name`
`boolean` `required`
`java.lang.String` `usage`

### Constructor Summary

Constructors
`ConfigElement()`

### Method Summary

All Methods Instance Methods Concrete Methods
`boolean` `isInvalid()` Ensures that only a field XOR a method is set.

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 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

### Constructor Detail

#### ConfigElement

    public ConfigElement()

### Method Detail

#### isInvalid

    public boolean isInvalid()

Ensures that only a field XOR a method is set.

Returns: