|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ResourceErrorType>
org.rhq.core.domain.resource.ResourceErrorType
public enum ResourceErrorType
Provides the types of errors that can be associated with a Resource.
ResourceError| Enum Constant Summary | |
|---|---|
AVAILABILITY_CHECK
An exception was thrown by the Resource component's getAvailablity() method the last time it was called. |
|
INVALID_PLUGIN_CONFIGURATION
The Resource's plugin configuration was somehow invalid, causing the connection to the Resource to fail. |
|
UPGRADE
There was an attempt to upgrade the resource on the agent but it failed. |
|
| Method Summary | |
|---|---|
static ResourceErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResourceErrorType[] |
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 |
|---|
public static final ResourceErrorType INVALID_PLUGIN_CONFIGURATION
public static final ResourceErrorType AVAILABILITY_CHECK
public static final ResourceErrorType UPGRADE
| Method Detail |
|---|
public static ResourceErrorType[] values()
for (ResourceErrorType c : ResourceErrorType.values()) System.out.println(c);
public static ResourceErrorType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||