FileDocCategorySizeDatePackage
ARG_adminpassword.javaAPI DocGlassfish v2 API2525Fri May 04 22:35:04 BST 2007com.sun.enterprise.tools.upgrade.common.arguments

ARG_adminpassword

public class ARG_adminpassword extends ArgumentHandler
author
Hans Hrasna

Fields Summary
Constructors Summary
public ARG_adminpassword(ParsedArgument pa)
Creates a new instance of ARG_adminpassword

        super(pa);
        if(parameters.isEmpty()){
            helpUsage(sm.getString("enterprise.tools.upgrade.cli.argument_missing","--adminpassword/-w"));
            System.exit(1);
        }
        String adminuser = (String)parameters.firstElement();
        commonInfo.setAdminPassword(adminuser);
    
Methods Summary