org.rhq.core.domain.resource
Enum ResourceCreationDataType

java.lang.Object
  extended by java.lang.Enum<ResourceCreationDataType>
      extended by org.rhq.core.domain.resource.ResourceCreationDataType
All Implemented Interfaces:
Serializable, Comparable<ResourceCreationDataType>

public enum ResourceCreationDataType
extends Enum<ResourceCreationDataType>

Indicates what data is required when creating a new resource.


Enum Constant Summary
CONFIGURATION
          Indicated the resource configuration values must be specified at resource creation time.
CONTENT
          Indicates one or more pieces of content must be uploaded to the plugin at resource creation time.
 
Method Summary
static ResourceCreationDataType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceCreationDataType[] 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

CONFIGURATION

public static final ResourceCreationDataType CONFIGURATION
Indicated the resource configuration values must be specified at resource creation time.


CONTENT

public static final ResourceCreationDataType CONTENT
Indicates one or more pieces of content must be uploaded to the plugin at resource creation time.

Method Detail

values

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

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

valueOf

public static ResourceCreationDataType 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-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.