org.rhq.modules.plugins.jbossas7
Enum AS7Mode
java.lang.Object
java.lang.Enum<AS7Mode>
org.rhq.modules.plugins.jbossas7.AS7Mode
- All Implemented Interfaces:
- Serializable, Comparable<AS7Mode>
public enum AS7Mode
- extends Enum<AS7Mode>
Various definitions for the operation modes of AS7 (HOST is strictly not a mode, but fits here nicely)
- Author:
- Heiko W. Rupp
STANDALONE
public static final AS7Mode STANDALONE
DOMAIN
public static final AS7Mode DOMAIN
HOST
public static final AS7Mode HOST
values
public static AS7Mode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AS7Mode c : AS7Mode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AS7Mode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getDefaultXmlFile
public String getDefaultXmlFile()
getDefaultHostConfigFileName
public String getDefaultHostConfigFileName()
getDefaultBaseDir
public String getDefaultBaseDir()
getConfigArg
public String getConfigArg()
getStartScriptFileName
public String getStartScriptFileName()
getHostConfigFileNameOption
public CommandLineOption getHostConfigFileNameOption()
getHostConfigAttributeName
public String getHostConfigAttributeName()
getDefaultHostConfigSystemPropertyName
public String getDefaultHostConfigSystemPropertyName()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.