com.xebialabs.deployit.reflect
Enum ConfigurationItemPropertyType

java.lang.Object
  extended by java.lang.Enum<ConfigurationItemPropertyType>
      extended by com.xebialabs.deployit.reflect.ConfigurationItemPropertyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConfigurationItemPropertyType>

public enum ConfigurationItemPropertyType
extends java.lang.Enum<ConfigurationItemPropertyType>

Enumeration of possible configuration item types.


Enum Constant Summary
BOOLEAN
          A boolean.
CI
          A reference to a ConfigurationItem.
ENUM
          An Enum.
INTEGER
          An int
LIST_OF_OBJECTS
          A List of non-CI objects.
SET_OF_CIS
          A Set of references to ConfigurationItems.
SET_OF_STRINGS
          A Set of Strings.
STRING
          A String.
UNSUPPORTED
          An unsupported property type.
 
Method Summary
static ConfigurationItemPropertyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConfigurationItemPropertyType[] 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

BOOLEAN

public static final ConfigurationItemPropertyType BOOLEAN
A boolean.


INTEGER

public static final ConfigurationItemPropertyType INTEGER
An int


STRING

public static final ConfigurationItemPropertyType STRING
A String.


ENUM

public static final ConfigurationItemPropertyType ENUM
An Enum.


LIST_OF_OBJECTS

public static final ConfigurationItemPropertyType LIST_OF_OBJECTS
A List of non-CI objects.


SET_OF_STRINGS

public static final ConfigurationItemPropertyType SET_OF_STRINGS
A Set of Strings.


CI

public static final ConfigurationItemPropertyType CI
A reference to a ConfigurationItem.


SET_OF_CIS

public static final ConfigurationItemPropertyType SET_OF_CIS
A Set of references to ConfigurationItems.


UNSUPPORTED

public static final ConfigurationItemPropertyType UNSUPPORTED
An unsupported property type.

Method Detail

values

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

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

valueOf

public static ConfigurationItemPropertyType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010. All Rights Reserved.