Searched defs:opt (Results 1 - 4 of 4) sorted by relevance
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/ |
H A D | CreateJvmOptions.java | 156 String opt = siter.next(); 157 validateSoftXmx(bag, opt, report); 158 validateSoftXms(bag, opt, report); 162 private void validateSoftXmx(JvmOptionBag bag, String opt, ActionReport report) { argument 163 if (!opt.startsWith("-Xmx")) 165 //now, opt is something like -Xmx512m or -Xmx2g, or -Xmx=12 i.e. it may contain illegal characters 168 boolean matches = regex.matcher(opt).matches(); 170 String msg = lsm.getString("soft.invalid.xmx", opt); 186 int xmxGiven = JvmOptionBag.Duck.toMeg(opt, "-Xmx"); 194 private void validateSoftXms(JvmOptionBag bag, String opt, ActionRepor argument [all...] |
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | Parser.java | 129 ParamModel opt = null; 151 opt = lookupLongOption(name); 152 if (sawno && optionRequiresOperand(opt)) 154 strings.get("parser.illegalNo", opt.getName())); 165 opt = lookupShortOption(arg.charAt(1)); 169 opt = lookupShortOption(arg.charAt(1)); 173 opt = lookupShortOption(arg.charAt(i)); 174 if (opt == null) { 183 if (opt.getType() == Boolean.class || 184 opt 311 optionRequiresOperand(ParamModel opt) argument 319 setOption(ParamModel opt, String value) argument [all...] |
H A D | CLICommand.java | 331 for (ParamModel opt : usageOptions()) { 333 final String optName = lc(opt.getName()); 341 if (opt.getParam().password()) 344 if (opt.getParam().obsolete()) 347 if (opt.getParam().primary()) 349 boolean optional = opt.getParam().optional(); 350 String defValue = opt.getParam().defaultValue(); 353 String sn = opt.getParam().shortName(); 358 if (opt.getType() == Boolean.class || 359 opt 941 getPassword(ParamModel opt, String defaultPassword, boolean create) argument [all...] |
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ |
H A D | JvmOptionBag.java | 97 for (String opt : options) { 98 if(opt.indexOf(which) >= 0) { 99 return toMeg(opt, which); 129 public static boolean contains(JvmOptionBag me, String opt) { argument 130 return me.getJvmOptions().contains(opt); 135 for (String opt : opts) { 136 if (opt.startsWith(start)) 137 return opt;
|
Completed in 50 milliseconds