CommandLineArgument Class
DEPRECATED Use CommandLineArgument
- public class CommandLineArgument
extends Object
Representation of a command line argument.
-
Hierarchy
-
Object
CommandLineArgument
defaultValue
protected String defaultValue
description
protected String description
flag
protected String flag
required
protected boolean required
requiresFlagValue
protected boolean requiresFlagValue
CommandLineArgument
public CommandLineArgument(String aFlag,
boolean requiresValue,
boolean required)
- Command line argument constructor.
equals(Object) Method
public boolean equals(Object anObject)
Equals.
-
Overrides
-
Object.equals(Object)
Returns
boolean
getDefaultValue() Method
public String getDefaultValue()
Get default value.
Returns
String
getDescription() Method
public String getDescription()
Get description.
Returns
String
getFlag() Method
public String getFlag()
Get flag.
Returns
String
isRequired() Method
public boolean isRequired()
Is required.
Returns
boolean
requiresFlagValue() Method
public boolean requiresFlagValue()
Requires flag value.
Returns
boolean
setDefaultValue(String) Method
public void setDefaultValue(String aDefaultValue)
Set default value.
setDescription(String) Method
public void setDescription(String aDescription)
Set description.
setFlag(String) Method
public void setFlag(String aFlag)
Set flag.
setRequired(boolean) Method
public void setRequired(boolean aBool)
Set required.
setRequiresFlagValue(boolean) Method
public void setRequiresFlagValue(boolean aBool)
Set requires flag value.