org.rhq.core.domain.content
Enum InstalledPackageHistoryStatus

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

public enum InstalledPackageHistoryStatus
extends Enum<InstalledPackageHistoryStatus>

Indicates if an InstalledPackage is in use on the resource or is a historical entry.


Enum Constant Summary
BEING_DELETED
          The package is in the process of being deployed out to a resource.
BEING_INSTALLED
          The package is in the process of being deployed out to a resource.
BEING_RETRIEVED
          A request to retrieve the bits for a package is in progress.
DELETED
          Indicates the package was explicitly deleted by the user.
DISCOVERED
          Indicates a package was discovered by the agent-side discovery.
FAILED
          The package request encountered an error.
INSTALLED
          Indicates the installed package instance is the currently installed version.
MISSING
          Indicates the package has been deleted on the resource directly and did not go through the server to do so.
RETRIEVED
          A request to retrieve the bits for a package was successful.
TIMED_OUT
          Used to provide an ending when content requests time out.
 
Method Summary
 String getDescription()
           
 String getDisplayName()
           
static InstalledPackageHistoryStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InstalledPackageHistoryStatus[] 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

DISCOVERED

public static final InstalledPackageHistoryStatus DISCOVERED
Indicates a package was discovered by the agent-side discovery.


MISSING

public static final InstalledPackageHistoryStatus MISSING
Indicates the package has been deleted on the resource directly and did not go through the server to do so.


FAILED

public static final InstalledPackageHistoryStatus FAILED
The package request encountered an error.


TIMED_OUT

public static final InstalledPackageHistoryStatus TIMED_OUT
Used to provide an ending when content requests time out. This way, we don't see as the last entry in the audit that a package is in the process of doing something and never finished.


INSTALLED

public static final InstalledPackageHistoryStatus INSTALLED
Indicates the installed package instance is the currently installed version.


BEING_INSTALLED

public static final InstalledPackageHistoryStatus BEING_INSTALLED
The package is in the process of being deployed out to a resource.


DELETED

public static final InstalledPackageHistoryStatus DELETED
Indicates the package was explicitly deleted by the user.


BEING_DELETED

public static final InstalledPackageHistoryStatus BEING_DELETED
The package is in the process of being deployed out to a resource.


RETRIEVED

public static final InstalledPackageHistoryStatus RETRIEVED
A request to retrieve the bits for a package was successful.


BEING_RETRIEVED

public static final InstalledPackageHistoryStatus BEING_RETRIEVED
A request to retrieve the bits for a package is in progress.

Method Detail

values

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

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

valueOf

public static InstalledPackageHistoryStatus 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

getDisplayName

public String getDisplayName()

getDescription

public String getDescription()


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.