org.rhq.core.domain.content
Enum ContentSyncStatus

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

public enum ContentSyncStatus
extends Enum<ContentSyncStatus>


Enum Constant Summary
ADVISORYMETADATA
           
CANCELLED
           
CANCELLING
           
DISTROBITS
           
DISTROMETADATA
           
FAILURE
           
INPROGRESS
           
NONE
           
PACKAGEBITS
           
PACKAGEMETADATA
           
SUCCESS
           
 
Method Summary
static ContentSyncStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContentSyncStatus[] 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

INPROGRESS

public static final ContentSyncStatus INPROGRESS

PACKAGEMETADATA

public static final ContentSyncStatus PACKAGEMETADATA

PACKAGEBITS

public static final ContentSyncStatus PACKAGEBITS

DISTROMETADATA

public static final ContentSyncStatus DISTROMETADATA

DISTROBITS

public static final ContentSyncStatus DISTROBITS

ADVISORYMETADATA

public static final ContentSyncStatus ADVISORYMETADATA

SUCCESS

public static final ContentSyncStatus SUCCESS

FAILURE

public static final ContentSyncStatus FAILURE

NONE

public static final ContentSyncStatus NONE

CANCELLED

public static final ContentSyncStatus CANCELLED

CANCELLING

public static final ContentSyncStatus CANCELLING
Method Detail

values

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

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

valueOf

public static ContentSyncStatus 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.