Class 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 Detail

      • ConstraintFactory

        public ConstraintFactory()
    • 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 Jenkins
        constraints - all constraints defined in the UI
        Returns:
        list of all constraint clones that will get evaluated