public static enum ResourceStatus.Category extends Enum<ResourceStatus.Category> implements ResourceStatus
ResourceStatus.Category
Enum Constant and Description |
---|
DEGRADED
The resource is partially operational.
|
DOWN
The resource is not operational.
|
UNKNOWN
The resource status is unknown.
|
UP
The resource is fully operational.
|
Modifier and Type | Method and Description |
---|---|
ResourceStatus.Category |
getCategory()
Get Category of the resource.
|
static ResourceStatus.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStatus.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStatus.Category UP
public static final ResourceStatus.Category DEGRADED
public static final ResourceStatus.Category UNKNOWN
public static final ResourceStatus.Category DOWN
public static ResourceStatus.Category[] values()
for (ResourceStatus.Category c : ResourceStatus.Category.values()) System.out.println(c);
public static ResourceStatus.Category valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Nonnull public ResourceStatus.Category getCategory()
ResourceStatus
getCategory
in interface ResourceStatus
Copyright © 2016–2021. All rights reserved.