Enum TargetType
- java.lang.Object
-
- java.lang.Enum<TargetType>
-
- com.suse.salt.netapi.datatypes.target.TargetType
-
- All Implemented Interfaces:
Serializable
,Comparable<TargetType>
public enum TargetType extends Enum<TargetType>
Possible values for the tgt_type parameter in salt netapi calls.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOUND
DATA
GLOB
GRAIN
GRAIN_PCRE
IPCIDR
LIST
NODEGROUP
PCRE
PILLAR
PILLAR_EXACT
PILLAR_PCRE
RANGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static TargetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOB
public static final TargetType GLOB
-
PCRE
public static final TargetType PCRE
-
LIST
public static final TargetType LIST
-
GRAIN
public static final TargetType GRAIN
-
GRAIN_PCRE
public static final TargetType GRAIN_PCRE
-
PILLAR
public static final TargetType PILLAR
-
PILLAR_EXACT
public static final TargetType PILLAR_EXACT
-
PILLAR_PCRE
public static final TargetType PILLAR_PCRE
-
NODEGROUP
public static final TargetType NODEGROUP
-
RANGE
public static final TargetType RANGE
-
COMPOUND
public static final TargetType COMPOUND
-
IPCIDR
public static final TargetType IPCIDR
-
DATA
public static final TargetType DATA
-
-
Method Detail
-
values
public static TargetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TargetType c : TargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TargetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
-