public static enum ChefConfig.ChefModes extends java.lang.Enum<ChefConfig.ChefModes>
Enum Constant and Description |
---|
AUTODETECT
|
KNIFE
Force use of Knife; knife must be installed, and either
ChefConfig.KNIFE_EXECUTABLE and ChefConfig.KNIFE_CONFIG_FILE must be set
or knife on the path with valid global config set up |
SOLO
Force use of Chef Solo
|
Modifier and Type | Method and Description |
---|---|
static ChefConfig.ChefModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChefConfig.ChefModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChefConfig.ChefModes SOLO
public static final ChefConfig.ChefModes KNIFE
ChefConfig.KNIFE_EXECUTABLE
and ChefConfig.KNIFE_CONFIG_FILE
must be set
or knife on the path with valid global config set uppublic static final ChefConfig.ChefModes AUTODETECT
public static ChefConfig.ChefModes[] values()
for (ChefConfig.ChefModes c : ChefConfig.ChefModes.values()) System.out.println(c);
public static ChefConfig.ChefModes 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