Class VariablePatternVerifier

  • public class VariablePatternVerifier
    extends Object
    Checks variables for correctness.
    • Constructor Detail

      • VariablePatternVerifier

        public VariablePatternVerifier​(String pattern)
        Create verifier for given pattern.
        pattern - the pattern to verify
    • Method Detail

      • containsVariables

        public boolean containsVariables()
        true if pattern contains variable in any of notations ('%' or '$' based).
      • checkVariableNotation

        public boolean checkVariableNotation()
        false if variables seem to be incorrectly specified, or unsupported variable is used. True if there are no variables or they are all recognized. See also JenkinsVariablesResolver.getResolvableVariables().