Class ConstraintFactory
java.lang.Object
hudson.plugins.performance.constraints.ConstraintFactory
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
-
Method Summary
Modifier and TypeMethodDescriptionList<? 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
-
Constructor Details
-
ConstraintFactory
public ConstraintFactory()
-
-
Method Details
-
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
-