Class 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
    • 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 expression
        delimiter - 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 name
        regex - 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 name
        regex - the regular expression to match
        delimiter - the character to delimit nesting in the pillar name