org.rhq.modules.plugins.jbossas7
Enum AS7Mode

java.lang.Object
  extended by java.lang.Enum<AS7Mode>
      extended by 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 no mode, but fits here nicely)

Author:
Heiko W. Rupp

Enum Constant Summary
DOMAIN
           
HOST
           
STANDALONE
           
 
Method Summary
 String getBaseDir()
           
 String getConfigArg()
           
 String getConfigPropertyName()
           
 String getDefaultXmlFile()
           
 String getStartScript()
           
static AS7Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AS7Mode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STANDALONE

public static final AS7Mode STANDALONE

DOMAIN

public static final AS7Mode DOMAIN

HOST

public static final AS7Mode HOST
Method Detail

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()

getBaseDir

public String getBaseDir()

getConfigArg

public String getConfigArg()

getStartScript

public String getStartScript()

getConfigPropertyName

public String getConfigPropertyName()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.