Searched defs:option (Results 1 - 8 of 8) sorted by relevance
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/cli/ |
H A D | NoOptOptionElement.java | 54 * @param option 57 * @return <code>true</code> if the option flag is 62 protected boolean matches(ParsedOption option) { argument 63 String opt = option.getOpt();
|
H A D | OptionMap.java | 38 private OptionElement option; field in class:OptionMap 44 public OptionMap(ParsedOption parsed, OptionElement option) { argument 46 setOption(option); 65 public void setOption(OptionElement option) { argument 66 this.option = option; 71 * option. 74 return option; 78 * Gets a formatted representation of this option. 81 return getFormatted(parsed, option, formatte 91 getFormatted(ParsedOption parsed, OptionElement option, OptionFormatter formatter) argument [all...] |
H A D | CommandLineParser.java | 45 public abstract void getNextOptArg(ParsedOption option); argument
|
H A D | HelpFormatter.java | 91 for (OptionElement option : options) { 92 String synopsis = formatter.getFormatted(option, true); 96 String description = option.getDescription(); 154 Option option, HashMap<String, OptionElement> map) { 156 if (option.isDocumented()) { 157 if (option instanceof OptionElement) { 158 OptionElement element = (OptionElement)option; 163 if (option instanceof OptionGroup) { 164 for (Option o : ((OptionGroup)option).getOptions()) { 153 getOptionElements( Option option, HashMap<String, OptionElement> map) argument
|
H A D | OptionGroup.java | 74 public void addOption(Option option) { argument 76 options.add(option); 88 protected boolean removeOption(Option option) { argument 90 return options.remove(option); 106 private void addUsedOption(Option option) { argument 107 usedOptions.add(option); 110 private boolean removeUsedOption(Option option) { argument 111 return usedOptions.remove(option);
|
H A D | PosixCommandLineParser.java | 52 // Group 1 is the short option list 57 // Group 1 is the long option, group 3 is the (optional) value 89 // Save position of this option 97 // Is the current raw argument a long option? 99 // Group 1 is the long option, group 3 is the (optional) value 106 // Is the current raw argument a short option? 108 // Group 1 is the short option list 118 // The current raw argument is not an option -- return an 119 // empty short option 127 // System.out.println("Found option 134 getNextOptArg(ParsedOption option) argument [all...] |
H A D | UsageFormatter.java | 45 private Option option; field in class:UsageFormatter 55 public UsageFormatter(String command, Option option, argument 59 this.option = option; 72 return option; 104 Option option = getOption(); 106 if (option instanceof OptionGroup) { 107 options = ((OptionGroup)option).getOptions(); 110 options.add(option);
|
H A D | CommandLineProcessor.java | 59 private int getUseCount(Option option) { argument 61 return used.get(option); 68 private int incUseCount(Option option) { argument 69 int count = getUseCount(option) + 1; 70 used.put(option, count); 74 private int decUseCount(Option option) { argument 75 int count = getUseCount(option) - 1; 76 used.put(option, count); 80 private boolean isUsed(Option option) { argument 81 return getUseCount(option) > 275 verifyRequiredOptions(Option option) argument [all...] |
Completed in 16 milliseconds