public enum ResourceState extends java.lang.Enum<ResourceState>
ResourceState
enum represents the possible values for the state of an ResourceI
object.Enum Constant and Description |
---|
InService
Indicates that the device is currently in service and operational.
|
Invalid
|
OutOfService
Indicates that the device is currently out of service and not operational.
|
Unknown |
Modifier and Type | Method and Description |
---|---|
static ResourceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceState Invalid
ResourceI
has;
SessionI
The client application should cease using the related ResourceI
object when in this state. Note that this state
will be set in any NotificationType.DELETE
notifications for ResourceI
objects.
public static final ResourceState OutOfService
public static final ResourceState InService
public static final ResourceState Unknown
public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null