public class GroupCmdLineOption extends SimpleCmdLineOption
CmdLineOption
which is a group option (i.e. supports sub-
CmdLineOption
s.Constructor and Description |
---|
GroupCmdLineOption() |
GroupCmdLineOption(String shortOption,
String longOption,
String description,
boolean hasArgs) |
Modifier and Type | Method and Description |
---|---|
void |
addSubOption(GroupSubOption subOption) |
List<GroupSubOption> |
getSubOptions() |
boolean |
hasSubOptions() |
boolean |
isAllowAnySubOptions() |
void |
setAllowAnySubOptions(boolean allowAnySubOption) |
void |
setSubOptions(List<GroupSubOption> subOptions) |
equals, getArgsDescription, getDescription, getLongOption, getRequirementRules, getShortOption, getStaticArgs, getType, hasArgs, hashCode, hasStaticArgs, isRepeating, isRequired, isSubOption, setArgsDescription, setDescription, setHasArgs, setIsSubOption, setLongOption, setRepeating, setRequired, setRequirementRules, setShortOption, setStaticArgs, setType, toString
public void setAllowAnySubOptions(boolean allowAnySubOption)
public boolean isAllowAnySubOptions()
public void setSubOptions(List<GroupSubOption> subOptions)
public void addSubOption(GroupSubOption subOption)
public List<GroupSubOption> getSubOptions()
public boolean hasSubOptions()
Copyright © 1999–2017 Apache OODT. All rights reserved.