Class VariablePatternVerifier
java.lang.Object
com.parasoft.findings.jenkins.internal.variables.VariablePatternVerifier
Checks variables for correctness.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VariablePatternVerifier
Create verifier for given pattern.- Parameters:
pattern
- the pattern to verify
-
-
Method Details
-
containsVariables
public boolean containsVariables()- Returns:
- true if pattern contains variable in any of notations ('%' or '$' based).
-
checkVariableNotation
public boolean checkVariableNotation()- Returns:
- 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()
.
-