public static enum SlaveTemplate.ProvisionOptions extends Enum<SlaveTemplate.ProvisionOptions>
Enum Constant and Description |
---|
ALLOW_CREATE |
FORCE_CREATE |
Modifier and Type | Method and Description |
---|---|
static SlaveTemplate.ProvisionOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlaveTemplate.ProvisionOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlaveTemplate.ProvisionOptions ALLOW_CREATE
public static final SlaveTemplate.ProvisionOptions FORCE_CREATE
public static SlaveTemplate.ProvisionOptions[] values()
for (SlaveTemplate.ProvisionOptions c : SlaveTemplate.ProvisionOptions.values()) System.out.println(c);
public static SlaveTemplate.ProvisionOptions 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 nullCopyright © 2016–2020. All rights reserved.