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, setValue
public boolean isRequired()
isRequired
in class AbstractParameter
Option
is requiredpublic void setRequired(boolean required)
required
- set requiredpublic String getArgName()
public String getLocalizedArgName()
getLocalizedArgName
in class AbstractParameter
public void setArgName(String argName)
argName
- the argument name to setprotected void clone(Option opt)
public String getLocalizedDescription()
getLocalizedDescription
in class AbstractParameter
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.