Class ConstraintChecker
java.lang.Object
hudson.plugins.performance.constraints.ConstraintChecker
Checks whether a list of constraints is fulfilled or violated
- Author:
- Rene Kugel
-
Constructor Summary
ConstructorsConstructorDescriptionConstraintChecker
(ConstraintSettings settings, List<? extends Run<?, ?>> builds) -
Method Summary
Modifier and TypeMethodDescriptioncheckAllConstraints
(List<? extends AbstractConstraint> constraints) Evaluates a list of constraints defined by the user in the UIvoid
void
setSettings
(ConstraintSettings settings)
-
Constructor Details
-
ConstraintChecker
-
-
Method Details
-
checkAllConstraints
public ArrayList<ConstraintEvaluation> checkAllConstraints(List<? extends AbstractConstraint> constraints) throws AbortException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException, ParseException Evaluates a list of constraints defined by the user in the UI- Parameters:
constraints
- constraints defined by the user- Returns:
- ArrayList of evaluated constraints
- Throws:
AbortException
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
ParseException
-
getSettings
-
setSettings
-
getBuilds
-
setBuilds
-