public class CmdLineOptionInstance extends Object
CmdLineOption
with its specified argument values.Constructor and Description |
---|
CmdLineOptionInstance() |
CmdLineOptionInstance(CmdLineOption option,
List<String> values) |
Modifier and Type | Method and Description |
---|---|
void |
addSubOption(CmdLineOptionInstance subOption) |
void |
addValue(String value) |
boolean |
equals(Object obj) |
CmdLineOption |
getOption() |
Set<CmdLineOptionInstance> |
getSubOptions() |
List<String> |
getValues() |
int |
hashCode() |
boolean |
isAction() |
boolean |
isGroup() |
boolean |
isHandleable() |
boolean |
isHelp() |
boolean |
isPrintSupportedActions() |
boolean |
isValidatable() |
void |
setOption(CmdLineOption option) |
void |
setSubOptions(List<CmdLineOptionInstance> subOptions) |
void |
setValues(List<String> values) |
String |
toString() |
public CmdLineOptionInstance()
public CmdLineOptionInstance(CmdLineOption option, List<String> values)
public void setOption(CmdLineOption option)
public CmdLineOption getOption()
public boolean isGroup()
public boolean isAction()
public boolean isHelp()
public boolean isPrintSupportedActions()
public boolean isValidatable()
public boolean isHandleable()
public void addValue(String value)
public void setSubOptions(List<CmdLineOptionInstance> subOptions)
public void addSubOption(CmdLineOptionInstance subOption)
public Set<CmdLineOptionInstance> getSubOptions()
Copyright © 1999–2017 Apache OODT. All rights reserved.