org.rhq.core.pc.inventory
Enum ResourceContainer.SynchronizationState

java.lang.Object
  extended by java.lang.Enum<ResourceContainer.SynchronizationState>
      extended by org.rhq.core.pc.inventory.ResourceContainer.SynchronizationState
All Implemented Interfaces:
Serializable, Comparable<ResourceContainer.SynchronizationState>
Enclosing class:
ResourceContainer

public static enum ResourceContainer.SynchronizationState
extends Enum<ResourceContainer.SynchronizationState>


Enum Constant Summary
DELETED_ON_AGENT
           
DELETED_ON_SERVER
           
NEW
           
SYNCHRONIZED
           
 
Method Summary
static ResourceContainer.SynchronizationState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceContainer.SynchronizationState[] 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

NEW

public static final ResourceContainer.SynchronizationState NEW

SYNCHRONIZED

public static final ResourceContainer.SynchronizationState SYNCHRONIZED

DELETED_ON_AGENT

public static final ResourceContainer.SynchronizationState DELETED_ON_AGENT

DELETED_ON_SERVER

public static final ResourceContainer.SynchronizationState DELETED_ON_SERVER
Method Detail

values

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

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

valueOf

public static ResourceContainer.SynchronizationState 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-2012 Red Hat, Inc.. All Rights Reserved.