@Beta public static enum ResourceEvent.Type extends java.lang.Enum<ResourceEvent.Type>
Enum Constant and Description |
---|
RESOURCE_ADDED
Signifies that a new resource has been detected.
|
RESOURCE_REMOVED
Signifies that a resource has been removed.
|
Modifier and Type | Method and Description |
---|---|
static ResourceEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceEvent.Type RESOURCE_ADDED
public static final ResourceEvent.Type RESOURCE_REMOVED
public static ResourceEvent.Type[] values()
for (ResourceEvent.Type c : ResourceEvent.Type.values()) System.out.println(c);
public static ResourceEvent.Type 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