Class PillarRegEx
- java.lang.Object
-
- com.suse.salt.netapi.datatypes.target.AbstractTarget<java.lang.String>
-
- com.suse.salt.netapi.datatypes.target.DictionaryTarget
-
- com.suse.salt.netapi.datatypes.target.PillarRegEx
-
- All Implemented Interfaces:
Target<java.lang.String>
public class PillarRegEx extends DictionaryTarget implements Target<java.lang.String>
Matcher based on salt pillar with regular expression matching
-
-
Field Summary
-
Fields inherited from class com.suse.salt.netapi.datatypes.target.DictionaryTarget
DEFAULT_DELIMITER, delimiter, key, value
-
Fields inherited from class com.suse.salt.netapi.datatypes.target.AbstractTarget
target, type
-
-
Constructor Summary
Constructors Constructor Description PillarRegEx(java.lang.String target)
Creates a pillar matcherPillarRegEx(java.lang.String target, char delimiter)
Creates a pillar matcherPillarRegEx(java.lang.String pillar, java.lang.String regex)
Creates a pillar matcherPillarRegEx(java.lang.String pillar, java.lang.String regex, char delimiter)
Creates a pillar matcher
-
Method Summary
-
Methods inherited from class com.suse.salt.netapi.datatypes.target.DictionaryTarget
getDelimiter, getKey, getProps, getValue
-
Methods inherited from class com.suse.salt.netapi.datatypes.target.AbstractTarget
getTarget, getType
-
-
-
-
Constructor Detail
-
PillarRegEx
public PillarRegEx(java.lang.String target)
Creates a pillar matcher- Parameters:
target
- the targeting expression
-
PillarRegEx
public PillarRegEx(java.lang.String target, char delimiter)
Creates a pillar matcher- Parameters:
target
- the targeting expressiondelimiter
- the character to delimit nesting in the grain name
-
PillarRegEx
public PillarRegEx(java.lang.String pillar, java.lang.String regex)
Creates a pillar matcher- Parameters:
pillar
- the pillar nameregex
- the regular expression to match
-
PillarRegEx
public PillarRegEx(java.lang.String pillar, java.lang.String regex, char delimiter)
Creates a pillar matcher- Parameters:
pillar
- the pillar nameregex
- the regular expression to matchdelimiter
- the character to delimit nesting in the pillar name
-
-