public static enum SaltConfig.SaltMode extends java.lang.Enum<SaltConfig.SaltMode>
Enum Constant and Description |
---|
MASTER
Master entity
|
MASTERLESS
Masterless entity using salt-ssh
|
MINION
Minion entity
|
Modifier and Type | Method and Description |
---|---|
static SaltConfig.SaltMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaltConfig.SaltMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaltConfig.SaltMode MASTER
public static final SaltConfig.SaltMode MINION
public static final SaltConfig.SaltMode MASTERLESS
public static SaltConfig.SaltMode[] values()
for (SaltConfig.SaltMode c : SaltConfig.SaltMode.values()) System.out.println(c);
public static SaltConfig.SaltMode 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