Class DroolsAbstractConstraintStream<Solution_>

    • Constructor Detail

      • DroolsAbstractConstraintStream

        public DroolsAbstractConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory,
                                              org.optaplanner.constraint.streams.common.RetrievalSemantics retrievalSemantics)
    • Method Detail

      • buildConstraint

        protected org.optaplanner.core.api.score.stream.Constraint buildConstraint​(String constraintPackage,
                                                                                   String constraintName,
                                                                                   org.optaplanner.core.api.score.Score<?> constraintWeight,
                                                                                   org.optaplanner.constraint.streams.common.ScoreImpactType impactType,
                                                                                   Object justificationMapping,
                                                                                   Object indictedObjectsMapping,
                                                                                   RuleBuilder<Solution_> ruleBuilder)
      • getConstraintFactory

        public DroolsConstraintFactory<Solution_> getConstraintFactory()
        Specified by:
        getConstraintFactory in interface org.optaplanner.core.api.score.stream.ConstraintStream
        Specified by:
        getConstraintFactory in class org.optaplanner.constraint.streams.common.AbstractConstraintStream<Solution_>