Class ConstraintChecker
- java.lang.Object
-
- hudson.plugins.performance.constraints.ConstraintChecker
-
public class ConstraintChecker extends Object
Checks whether a list of constraints is fulfilled or violated- Author:
- Rene Kugel
-
-
Constructor Summary
Constructors Constructor Description ConstraintChecker(ConstraintSettings settings, List<? extends Run<?,?>> builds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<ConstraintEvaluation>
checkAllConstraints(List<? extends AbstractConstraint> constraints)
Evaluates a list of constraints defined by the user in the UIList<? extends Run<?,?>>
getBuilds()
ConstraintSettings
getSettings()
void
setBuilds(List<? extends Run<?,?>> builds)
void
setSettings(ConstraintSettings settings)
-
-
-
Constructor Detail
-
ConstraintChecker
public ConstraintChecker(ConstraintSettings settings, List<? extends Run<?,?>> builds)
-
-
Method Detail
-
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
public ConstraintSettings getSettings()
-
setSettings
public void setSettings(ConstraintSettings settings)
-
-