eu.xtreemos.xosd.utilities.security
Enum ResourceAttributes.Attribute

java.lang.Object
  extended by java.lang.Enum<ResourceAttributes.Attribute>
      extended by eu.xtreemos.xosd.utilities.security.ResourceAttributes.Attribute
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResourceAttributes.Attribute>
Enclosing class:
ResourceAttributes

public static enum ResourceAttributes.Attribute
extends java.lang.Enum<ResourceAttributes.Attribute>


Enum Constant Summary
CPUCount
           
CPUSpeed
           
MemorySize
           
Service
          The list of services, denoted by the fully qualified (package + class) name of the stage representing the service, delimited by the comma signs.
VO
          The attribute found in the VO attribute certificate denoting the VO the resource belongs to.
 
Field Summary
private  java.lang.String oid
           
 
Method Summary
 java.lang.String getOID()
           
static ResourceAttributes.Attribute myValueOf(java.lang.String oid)
           
static ResourceAttributes.Attribute valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResourceAttributes.Attribute[] 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

CPUSpeed

public static final ResourceAttributes.Attribute CPUSpeed

CPUCount

public static final ResourceAttributes.Attribute CPUCount

MemorySize

public static final ResourceAttributes.Attribute MemorySize

Service

public static final ResourceAttributes.Attribute Service
The list of services, denoted by the fully qualified (package + class) name of the stage representing the service, delimited by the comma signs.


VO

public static final ResourceAttributes.Attribute VO
The attribute found in the VO attribute certificate denoting the VO the resource belongs to. Only one VO is indicated in the certificate (i.e., multiple VO membership of a resource is expressed with the corresponding number of VO attribute certificates).

Field Detail

oid

private java.lang.String oid
Method Detail

values

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

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

valueOf

public static ResourceAttributes.Attribute 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

getOID

public java.lang.String getOID()

myValueOf

public static ResourceAttributes.Attribute myValueOf(java.lang.String oid)