FileDocCategorySizeDatePackage
UpgradeConstants.javaAPI DocGlassfish v2 API8330Thu Jul 19 09:30:48 BST 2007com.sun.enterprise.tools.upgrade.common

UpgradeConstants

public final class UpgradeConstants extends Object
author
prakash

Fields Summary
private static com.sun.enterprise.util.i18n.StringManager
stringManager
private static StringBuffer
cliInstructions
public static final String
VERSION_AS7X_PE
public static final String
VERSION_AS7X_SE
public static final String
VERSION_AS7X_EE
public static final String
VERSION_AS80_PE
public static final String
VERSION_AS80_SE
public static final String
VERSION_AS80_EE
public static final String
VERSION_AS81_PE
public static final String
VERSION_AS81_SE
public static final String
VERSION_AS81_EE
public static final String
VERSION_AS82_PE
public static final String
VERSION_AS82_SE
public static final String
VERSION_AS82_EE
public static final String
VERSION_AS90_PE
public static final String
VERSION_AS90_SE
public static final String
VERSION_AS90_EE
public static final String
EDITION_PE
public static final String
EDITION_SE
public static final String
EDITION_EE
public static final String
VERSION_7X
public static final String
VERSION_80
public static final String
VERSION_81
public static final String
VERSION_82
public static final String
VERSION_90
public static final String
VERSION_91
public static final String
DEVELOPER_PROFILE
public static final String
ENTERPRISE_PROFILE
public static final String
ASUPGRADE
public static final String
ASUPGRADE_BAT
public static final String
ASUPGRADE_LOG
public static final String
ENTITY_RESOLVER_CLASS
public static final String
BACKUP_DIR
public static final String
CLI_OPTION_CONSOLE_SHORT
public static final String
CLI_OPTION_CONSOLE_LONG
public static final String
CLI_OPTION_VERSION_UC_SHORT
public static final String
CLI_OPTION_VERSION_LC_SHORT
public static final String
CLI_OPTION_VERSION_LONG
public static final String
CLI_OPTION_HELP_SHORT
public static final String
CLI_OPTION_HYPHEN
public static final String
CLI_OPTION_NOPROMPT
public static final String
CLI_USER_INSTRUCTIONS
public static final String
AS_DOMAIN_ROOT
public static final String
AS_INSTALL_ROOT
public static final String
AS_BIN_DIRECTORY
public static final String
AS_CONFIG_DIRECTORY
public static final String
AS_ADMIN_ENV_CONF_FILE
public static final String
AS_PROPERTY_ADMIN_PROFILE
public static final String
ASADMIN_COMMAND
public static final String
ASADMIN_BAT
public static final String
OS_NAME_IDENTIFIER
public static final String
OS_NAME_WINDOWS
public static final HashMap
supportMap
Constructors Summary
public UpgradeConstants()
Creates a new instance of UpgradeConstants

    
        HashSet x7PESet = new HashSet();
        supportMap.put(VERSION_AS7X_PE,x7PESet);
        
        HashSet x7SESet = new HashSet();
        supportMap.put(VERSION_AS7X_SE,x7SESet);
        
        HashSet x7EESet = new HashSet();
        supportMap.put(VERSION_AS7X_EE,x7EESet);
        
        HashSet pE80Set = new HashSet();
        pE80Set.add(VERSION_AS90_PE);
        pE80Set.add(VERSION_91);
        supportMap.put(VERSION_AS80_PE,pE80Set);

        HashSet eE80Set = new HashSet();
        eE80Set.add(VERSION_91);
        supportMap.put(VERSION_AS80_SE,eE80Set); 
        
        HashSet pE81Set = new HashSet();
        pE81Set.add(VERSION_AS90_PE);
        pE81Set.add(VERSION_91);
        supportMap.put(VERSION_AS81_PE,pE81Set);
        
        HashSet eE81Set = new HashSet();
        eE81Set.add(VERSION_91);
        supportMap.put(VERSION_AS81_EE,eE81Set);  
        
        HashSet pE90Set = new HashSet();
        pE90Set.add(VERSION_91);
        supportMap.put(VERSION_AS90_PE,pE90Set);
        
        HashSet sE90Set = new HashSet();
        supportMap.put(VERSION_AS90_SE,sE90Set);
        
        HashSet eE90Set = new HashSet();
        supportMap.put(VERSION_AS90_EE,eE90Set);

        HashSet pE82Set = new HashSet();
        pE82Set.add(VERSION_AS90_PE);
        pE82Set.add(VERSION_91);
        supportMap.put(VERSION_AS82_PE,pE82Set);

        HashSet sE82Set = new HashSet();
        sE82Set.add(VERSION_91);
        supportMap.put(VERSION_AS82_SE,sE82Set);

        HashSet eE82Set = new HashSet();
        eE82Set.add(VERSION_91);
        supportMap.put(VERSION_AS82_EE,eE82Set);
    
    
Methods Summary
public static java.lang.StringreadableString(java.lang.String ve)

        return stringManager.getString("upgradeConstants."+ve);