public enum ResourceCollisionPolicy extends java.lang.Enum<ResourceCollisionPolicy>
| Enum Constant and Description |
|---|
FAIL
In case of collision between resources, fail.
|
KEEP_FIRST
In case of collision between resources, keep the first resource that was encountered.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceCollisionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceCollisionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceCollisionPolicy KEEP_FIRST
public static final ResourceCollisionPolicy FAIL
public static ResourceCollisionPolicy[] values()
for (ResourceCollisionPolicy c : ResourceCollisionPolicy.values()) System.out.println(c);
public static ResourceCollisionPolicy 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