Searched refs:opt (Results 1 - 24 of 24) sorted by relevance

/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DParser.java129 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 DCLICommand.java331 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...]
H A DProgramOptions.java141 ParamModel opt = new ParamModelData(name, type, !req, def,
143 opts.add(opt);
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DJvmOptionBag.java97 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;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/
H A DCreateJvmOptions.java156 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/tests/amx/src/org/glassfish/admin/amxtest/
H A DRunMeFirstTest.java75 final String[] opt = jc.getJVMOptions();
76 final Set<String> jvmOptions = GSetUtil.newStringSet(opt == null ? new String[0] : opt );
/glassfish-3.1.2/
H A Dgfbuild.sh96 while getopts r:u:b:D:U opt
98 case "$opt" in
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteAdminCommand.java378 for (ParamModel opt : commandModel.getParameters()) {
379 if (opt.getParam().primary()) {
380 operandParam = opt;
383 String paramName = opt.getName();
388 if(opt.isParamId(paramName)) {
389 paramValue = options.getOne(opt.getParam().alias().toLowerCase());
404 if (!opt.getParam().optional())
410 if (opt.getType() == File.class) {
412 } else if (opt.getParam().password()) {
1214 ParamModelData opt
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DListCommandDescriptorsCommand.java217 for(Option opt : options) {
218 s += opt.toString() + EOL;
/glassfish-3.1.2/installer/src/GlassFishV3Preview/resources/wrappers/
H A Doiuninstaller202 while getopts "${OPTSTRING}" opt ; do
203 case "${opt}" in
H A Dproduct-installer.sh309 # Long opt doesnt work on Open Solaris also, so have shortopt for all of OS.
313 while getopts "${OPTSTRING}" opt ; do
314 case "${opt}" in
H A Dengine-wrapper259 # Long opt doesnt work on Open Solaris also, so have shortopt for all of OS.
263 while getopts "${OPTSTRING}" opt ; do
264 case "${opt}" in
/glassfish-3.1.2/installer/src/GlassFishV3WebProfilePreview/resources/wrappers/
H A Doiuninstaller202 while getopts "${OPTSTRING}" opt ; do
203 case "${opt}" in
H A Dproduct-installer.sh309 # Long opt doesnt work on Open Solaris also, so have shortopt for all of OS.
313 while getopts "${OPTSTRING}" opt ; do
314 case "${opt}" in
H A Dengine-wrapper259 # Long opt doesnt work on Open Solaris also, so have shortopt for all of OS.
263 while getopts "${OPTSTRING}" opt ; do
264 case "${opt}" in
/glassfish-3.1.2/installer/src/main/resources/wrappers/
H A Doiuninstaller198 while getopts "${OPTSTRING}" opt ; do
199 case "${opt}" in
H A Dproduct-installer.sh320 while getopts "${OPTSTRING}" opt ; do
321 case "${opt}" in
H A Dengine-wrapper273 while getopts "${OPTSTRING}" opt ; do
274 case "${opt}" in
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/embeddable/
H A DCommandExecutorImpl.java121 for (CommandModel.ParamModel opt : commandModel.getParameters()) {
122 if (opt.getParam().password()) {
123 String pwdname = opt.getName();
/glassfish-3.1.2/admingui/jca/src/main/resources/
H A DsecurityMapjs.inc46 function enableSecurityMapFields(opt){
47 if(opt == 'principals') {
65 var opt = getSelectedValueFromForm(document.forms['propertyForm'], 'usersOption');
66 //alert('opt='+opt);
67 if (opt == 'users'){
74 if(opt == 'principals' ){
83 function enableWorkSecurityMapFields(opt){
84 if(opt == 'principals') {
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/
H A DRuntimeRootImpl.java413 for( final String opt : ss)
415 if( opt.startsWith(prefix) )
417 final String value = opt.substring( prefix.length() ).toLowerCase();
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dprototype.js2068 var opt = element.options[i];
2069 if (opt.selected) values.push(this.optionValue(opt));
2074 optionValue: function(opt) {
2076 return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text;
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/
H A DGFLauncher.java318 for (String opt : debugOptions) {
319 if (!opt.startsWith("-Xrunjdwp:"))
321 String[] attrs = opt.substring(10).split(",");
/glassfish-3.1.2/tests/quicklook/web/jruby/helloapp/public/javascripts/
H A Dprototype.js3665 var opt, currentValue, single = !Object.isArray(value);
3667 opt = element.options[i];
3668 currentValue = this.optionValue(opt);
3671 opt.selected = true;
3675 else opt.selected = value.include(currentValue);
3690 var opt = element.options[i];
3691 if (opt.selected) values.push(this.optionValue(opt));
3696 optionValue: function(opt) {
3698 return Element.extend(opt)
[all...]

Completed in 59 milliseconds