public enum CreateDisposition extends java.lang.Enum<CreateDisposition>
Enum Constant and Description |
---|
CREATE_IF_NEEDED |
CREATE_NEVER |
Modifier and Type | Method and Description |
---|---|
static CreateDisposition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateDisposition CREATE_IF_NEEDED
public static final CreateDisposition CREATE_NEVER
public static CreateDisposition[] values()
for (CreateDisposition c : CreateDisposition.values()) System.out.println(c);
public static CreateDisposition 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