org.optaplanner.core.impl.domain.constraintweight.descriptor

## Class ConstraintWeightDescriptor<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.domain.constraintweight.descriptor.ConstraintWeightDescriptor<Solution_>

- Type Parameters:
    `Solution_` - the solution type, the class with the `PlanningSolution` annotation

      public class ConstraintWeightDescriptor<Solution_>
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstraintWeightDescriptor(ConstraintConfigurationDescriptor<Solution_> constraintConfigurationDescriptor, MemberAccessor memberAccessor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Function<Solution_,Score<?>>` | `createExtractor()`
    `String` | `getConstraintName()`
    `String` | `getConstraintPackage()`
    `MemberAccessor` | `getMemberAccessor()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ConstraintWeightDescriptor

          public ConstraintWeightDescriptor(ConstraintConfigurationDescriptor<Solution_> constraintConfigurationDescriptor,
                                            MemberAccessor memberAccessor)

  - ### Method Detail

    - #### getConstraintPackage

          public String getConstraintPackage()

    - #### getConstraintName

          public String getConstraintName()

    - #### getMemberAccessor

          public MemberAccessor getMemberAccessor()

    - #### createExtractor

          public Function<Solution_,Score<?>> createExtractor()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.