public class Option extends AbstractParameter
bundle| Constructor and Description |
|---|
Option() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
protected void |
clone(Option opt) |
String |
getArgName() |
String |
getLocalizedArgName() |
String |
getLocalizedDescription() |
boolean |
isRequired() |
void |
setArgName(String argName) |
void |
setRequired(boolean required) |
clone, getContextKey, getDescription, getLongName, getName, getValue, setContextKey, setDescription, setLongName, setName, setValuepublic boolean isRequired()
isRequired in class AbstractParameterOption is requiredpublic void setRequired(boolean required)
required - set requiredpublic String getArgName()
public String getLocalizedArgName()
getLocalizedArgName in class AbstractParameterpublic void setArgName(String argName)
argName - the argument name to setprotected void clone(Option opt)
public String getLocalizedDescription()
getLocalizedDescription in class AbstractParameterCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.