io.args
Class ArgumentTypeSpec
java.lang.Object
io.args.ArgumentTypeSpec
- public class ArgumentTypeSpec
- extends java.lang.Object
Container for command line argument type specs.
- Author:
- Vincent Kraeutler
- See Also:
ArgumentValueSpec
|
Constructor Summary |
ArgumentTypeSpec()
|
ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription)
|
ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription,
java.lang.String aDefaultValue)
|
ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription,
java.lang.String[] aDefaultValue)
|
|
Method Summary |
java.lang.String |
toString()
convert argument to String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
emptyDefault
public static final java.lang.String emptyDefault
name
public java.lang.String name
description
public java.lang.String description
defaultValue
public java.lang.String[] defaultValue
required
public boolean required
ArgumentTypeSpec
public ArgumentTypeSpec()
ArgumentTypeSpec
public ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription)
- Parameters:
aName - the name of the argumentaDescription - the description (for the user) of the argument
ArgumentTypeSpec
public ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription,
java.lang.String aDefaultValue)
- Parameters:
aName - the name of the argumentaDescription - the description (for the user) of the argumentaDefaultValue - the default value of the argument
ArgumentTypeSpec
public ArgumentTypeSpec(java.lang.String aName,
java.lang.String aDescription,
java.lang.String[] aDefaultValue)
- Parameters:
aName - the name of the argumentaDescription - the description (for the user) of the argumentaDefaultValue - the default values of the argument
toString
public java.lang.String toString()
- convert argument to String.
- See Also:
Object.toString()