static class JCommander.MainParameter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Parameter |
annotation
The annotation found on the main parameter field.
|
private ParameterDescription |
description |
private boolean |
firstTimeMainParameter |
private java.util.List<java.lang.Object> |
multipleValue
Non null if the main parameter is a List
|
(package private) java.lang.Object |
object
The object on which we found the main parameter field.
|
(package private) Parameterized |
parameterized
This field/method will contain whatever command line parameter is not an option.
|
private java.lang.Object |
singleValue
The value of the single field, if it's not a List
|
Constructor and Description |
---|
MainParameter() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(java.lang.Object convertedValue) |
ParameterDescription |
getDescription() |
Parameterized parameterized
java.lang.Object object
private Parameter annotation
private ParameterDescription description
private java.util.List<java.lang.Object> multipleValue
private java.lang.Object singleValue
private boolean firstTimeMainParameter
public ParameterDescription getDescription()
public void addValue(java.lang.Object convertedValue)