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

ARG_adminuser

public class ARG_adminuser extends ArgumentHandler
author
Hans Hrasna

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

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