org.rhq.core.domain.drift
Enum DriftConfigurationDefinition.BaseDirValueContext

java.lang.Object
  extended by java.lang.Enum<DriftConfigurationDefinition.BaseDirValueContext>
      extended by org.rhq.core.domain.drift.DriftConfigurationDefinition.BaseDirValueContext
All Implemented Interfaces:
Serializable, Comparable<DriftConfigurationDefinition.BaseDirValueContext>
Enclosing class:
DriftConfigurationDefinition

public static enum DriftConfigurationDefinition.BaseDirValueContext
extends Enum<DriftConfigurationDefinition.BaseDirValueContext>

The basedir property is specified in two parts - a "context" and a "name". Taken together the value of the basedir can be determined. The value name is just a simple name that is used to look up the basedir value within the appropriate context. A context can be one of four places - either the value is a named property in a resource's plugin configuration, a named property in a resource's resource configuration, a named trait that is emitted by a resource or an absolute path found on a file system.


Enum Constant Summary
fileSystem
           
measurementTrait
           
pluginConfiguration
           
resourceConfiguration
           
 
Method Summary
static DriftConfigurationDefinition.BaseDirValueContext valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriftConfigurationDefinition.BaseDirValueContext[] 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

pluginConfiguration

public static final DriftConfigurationDefinition.BaseDirValueContext pluginConfiguration

resourceConfiguration

public static final DriftConfigurationDefinition.BaseDirValueContext resourceConfiguration

measurementTrait

public static final DriftConfigurationDefinition.BaseDirValueContext measurementTrait

fileSystem

public static final DriftConfigurationDefinition.BaseDirValueContext fileSystem
Method Detail

values

public static DriftConfigurationDefinition.BaseDirValueContext[] 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 (DriftConfigurationDefinition.BaseDirValueContext c : DriftConfigurationDefinition.BaseDirValueContext.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DriftConfigurationDefinition.BaseDirValueContext 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


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