Class ConstraintFactory
- java.lang.Object
-
- hudson.plugins.performance.constraints.ConstraintFactory
-
public class ConstraintFactory extends Object
Evaluates the entries in the testCase field if test cases are specified and create clones of the constraint for every given test case There are two possibilities: 1. In the testCase field a comma seperated list of test cases is given 2. A '*' is given- Author:
- Rene Kugel
-
-
Constructor Summary
Constructors Constructor Description ConstraintFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends AbstractConstraint>
createConstraintClones(Run<?,?> build, List<? extends AbstractConstraint> constraints)
Creates clones of a constraint if there is more than one test case specified in the UI
-
-
-
Method Detail
-
createConstraintClones
public List<? extends AbstractConstraint> createConstraintClones(Run<?,?> build, List<? extends AbstractConstraint> constraints)
Creates clones of a constraint if there is more than one test case specified in the UI- Parameters:
build
- all builds that are saved in Jenkinsconstraints
- all constraints defined in the UI- Returns:
- list of all constraint clones that will get evaluated
-
-