Package org.optaplanner.core.config.score.director

## Class ScoreDirectorFactoryConfig

- java.lang.Object
- - org.optaplanner.core.config.AbstractConfig<ScoreDirectorFactoryConfig>
  - - org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig

-     public class ScoreDirectorFactoryConfig
      extends AbstractConfig<ScoreDirectorFactoryConfig>

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected ScoreDirectorFactoryConfig` | `assertionScoreDirectorFactory` |
    `protected Class<? extends ConstraintProvider>` | `constraintProviderClass` |
    `protected Map<String,​String>` | `constraintProviderCustomProperties` |
    `protected ConstraintStreamImplType` | `constraintStreamImplType` |
    `protected Class<? extends EasyScoreCalculator>` | `easyScoreCalculatorClass` |
    `protected Map<String,​String>` | `easyScoreCalculatorCustomProperties` |
    `protected Class<? extends IncrementalScoreCalculator>` | `incrementalScoreCalculatorClass` |
    `protected Map<String,​String>` | `incrementalScoreCalculatorCustomProperties` |
    `protected String` | `initializingScoreTrend` |
    `protected Map<String,​String>` | `kieBaseConfigurationProperties` |
    `protected List<File>` | `scoreDrlFileList` |
    `protected List<String>` | `scoreDrlList` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ScoreDirectorFactoryConfig()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ScoreDirectorFactoryConfig` | `copyConfig()` | Typically implemented by constructing a new instance and calling `AbstractConfig.inherit(AbstractConfig)` on it
    `ScoreDirectorFactoryConfig` | `getAssertionScoreDirectorFactory()` |
    `Class<? extends ConstraintProvider>` | `getConstraintProviderClass()` |
    `Map<String,​String>` | `getConstraintProviderCustomProperties()` |
    `ConstraintStreamImplType` | `getConstraintStreamImplType()` |
    `Class<? extends EasyScoreCalculator>` | `getEasyScoreCalculatorClass()` |
    `Map<String,​String>` | `getEasyScoreCalculatorCustomProperties()` |
    `Class<? extends IncrementalScoreCalculator>` | `getIncrementalScoreCalculatorClass()` |
    `Map<String,​String>` | `getIncrementalScoreCalculatorCustomProperties()` |
    `String` | `getInitializingScoreTrend()` |
    `Map<String,​String>` | `getKieBaseConfigurationProperties()` |
    `List<File>` | `getScoreDrlFileList()` |
    `List<String>` | `getScoreDrlList()` |
    `ScoreDirectorFactoryConfig` | `inherit​(ScoreDirectorFactoryConfig inheritedConfig)` | Inherits each property of the `inheritedConfig` unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).
    `void` | `setAssertionScoreDirectorFactory​(ScoreDirectorFactoryConfig assertionScoreDirectorFactory)` |
    `void` | `setConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)` |
    `void` | `setConstraintProviderCustomProperties​(Map<String,​String> constraintProviderCustomProperties)` |
    `void` | `setConstraintStreamImplType​(ConstraintStreamImplType constraintStreamImplType)` |
    `void` | `setEasyScoreCalculatorClass​(Class<? extends EasyScoreCalculator> easyScoreCalculatorClass)` |
    `void` | `setEasyScoreCalculatorCustomProperties​(Map<String,​String> easyScoreCalculatorCustomProperties)` |
    `void` | `setIncrementalScoreCalculatorClass​(Class<? extends IncrementalScoreCalculator> incrementalScoreCalculatorClass)` |
    `void` | `setIncrementalScoreCalculatorCustomProperties​(Map<String,​String> incrementalScoreCalculatorCustomProperties)` |
    `void` | `setInitializingScoreTrend​(String initializingScoreTrend)` |
    `void` | `setKieBaseConfigurationProperties​(Map<String,​String> kieBaseConfigurationProperties)` |
    `void` | `setScoreDrlFileList​(List<File> scoreDrlFileList)` |
    `void` | `setScoreDrlList​(List<String> scoreDrlList)` |
    `ScoreDirectorFactoryConfig` | `withAssertionScoreDirectorFactory​(ScoreDirectorFactoryConfig assertionScoreDirectorFactory)` |
    `ScoreDirectorFactoryConfig` | `withConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)` |
    `ScoreDirectorFactoryConfig` | `withConstraintProviderCustomProperties​(Map<String,​String> constraintProviderCustomProperties)` |
    `ScoreDirectorFactoryConfig` | `withConstraintStreamImplType​(ConstraintStreamImplType constraintStreamImplType)` |
    `ScoreDirectorFactoryConfig` | `withEasyScoreCalculatorClass​(Class<? extends EasyScoreCalculator> easyScoreCalculatorClass)` |
    `ScoreDirectorFactoryConfig` | `withEasyScoreCalculatorCustomProperties​(Map<String,​String> easyScoreCalculatorCustomProperties)` |
    `ScoreDirectorFactoryConfig` | `withIncrementalScoreCalculatorClass​(Class<? extends IncrementalScoreCalculator> incrementalScoreCalculatorClass)` |
    `ScoreDirectorFactoryConfig` | `withIncrementalScoreCalculatorCustomProperties​(Map<String,​String> incrementalScoreCalculatorCustomProperties)` |
    `ScoreDirectorFactoryConfig` | `withInitializingScoreTrend​(String initializingScoreTrend)` |
    `ScoreDirectorFactoryConfig` | `withScoreDrlFileList​(List<File> scoreDrlFileList)` |
    `ScoreDirectorFactoryConfig` | `withScoreDrlFiles​(File... scoreDrlFiles)` |
    `ScoreDirectorFactoryConfig` | `withScoreDrlList​(List<String> scoreDrlList)` |
    `ScoreDirectorFactoryConfig` | `withScoreDrls​(String... scoreDrls)` |

    - ### Methods inherited from class org.optaplanner.core.config.AbstractConfig

      `toString`

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

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

- - ### Field Detail

    - #### easyScoreCalculatorClass

          protected Class<? extends EasyScoreCalculator> easyScoreCalculatorClass

    - #### easyScoreCalculatorCustomProperties

          protected Map<String,​String> easyScoreCalculatorCustomProperties

    - #### constraintProviderClass

          protected Class<? extends ConstraintProvider> constraintProviderClass

    - #### constraintProviderCustomProperties

          protected Map<String,​String> constraintProviderCustomProperties

    - #### constraintStreamImplType

          protected ConstraintStreamImplType constraintStreamImplType

    - #### incrementalScoreCalculatorClass

          protected Class<? extends IncrementalScoreCalculator> incrementalScoreCalculatorClass

    - #### incrementalScoreCalculatorCustomProperties

          protected Map<String,​String> incrementalScoreCalculatorCustomProperties

    - #### scoreDrlList

          protected List<String> scoreDrlList

    - #### scoreDrlFileList

          protected List<File> scoreDrlFileList

    - #### kieBaseConfigurationProperties

          protected Map<String,​String> kieBaseConfigurationProperties

    - #### initializingScoreTrend

          protected String initializingScoreTrend

    - #### assertionScoreDirectorFactory

          protected ScoreDirectorFactoryConfig assertionScoreDirectorFactory

  - ### Constructor Detail

    - #### ScoreDirectorFactoryConfig

          public ScoreDirectorFactoryConfig()

  - ### Method Detail

    - #### getEasyScoreCalculatorClass

          public Class<? extends EasyScoreCalculator> getEasyScoreCalculatorClass()

    - #### setEasyScoreCalculatorClass

          public void setEasyScoreCalculatorClass​(Class<? extends EasyScoreCalculator> easyScoreCalculatorClass)

    - #### getEasyScoreCalculatorCustomProperties

          public Map<String,​String> getEasyScoreCalculatorCustomProperties()

    - #### setEasyScoreCalculatorCustomProperties

          public void setEasyScoreCalculatorCustomProperties​(Map<String,​String> easyScoreCalculatorCustomProperties)

    - #### getConstraintProviderClass

          public Class<? extends ConstraintProvider> getConstraintProviderClass()

    - #### setConstraintProviderClass

          public void setConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)

    - #### getConstraintProviderCustomProperties

          public Map<String,​String> getConstraintProviderCustomProperties()

    - #### setConstraintProviderCustomProperties

          public void setConstraintProviderCustomProperties​(Map<String,​String> constraintProviderCustomProperties)

    - #### getConstraintStreamImplType

          public ConstraintStreamImplType getConstraintStreamImplType()

    - #### setConstraintStreamImplType

          public void setConstraintStreamImplType​(ConstraintStreamImplType constraintStreamImplType)

    - #### getIncrementalScoreCalculatorClass

          public Class<? extends IncrementalScoreCalculator> getIncrementalScoreCalculatorClass()

    - #### setIncrementalScoreCalculatorClass

          public void setIncrementalScoreCalculatorClass​(Class<? extends IncrementalScoreCalculator> incrementalScoreCalculatorClass)

    - #### getIncrementalScoreCalculatorCustomProperties

          public Map<String,​String> getIncrementalScoreCalculatorCustomProperties()

    - #### setIncrementalScoreCalculatorCustomProperties

          public void setIncrementalScoreCalculatorCustomProperties​(Map<String,​String> incrementalScoreCalculatorCustomProperties)

    - #### getScoreDrlList

          public List<String> getScoreDrlList()

    - #### setScoreDrlList

          public void setScoreDrlList​(List<String> scoreDrlList)

    - #### getScoreDrlFileList

          public List<File> getScoreDrlFileList()

    - #### setScoreDrlFileList

          public void setScoreDrlFileList​(List<File> scoreDrlFileList)

    - #### getKieBaseConfigurationProperties

          public Map<String,​String> getKieBaseConfigurationProperties()

    - #### setKieBaseConfigurationProperties

          public void setKieBaseConfigurationProperties​(Map<String,​String> kieBaseConfigurationProperties)

    - #### getInitializingScoreTrend

          public String getInitializingScoreTrend()

    - #### setInitializingScoreTrend

          public void setInitializingScoreTrend​(String initializingScoreTrend)

    - #### getAssertionScoreDirectorFactory

          public ScoreDirectorFactoryConfig getAssertionScoreDirectorFactory()

    - #### setAssertionScoreDirectorFactory

          public void setAssertionScoreDirectorFactory​(ScoreDirectorFactoryConfig assertionScoreDirectorFactory)

    - #### withEasyScoreCalculatorClass

          public ScoreDirectorFactoryConfig withEasyScoreCalculatorClass​(Class<? extends EasyScoreCalculator> easyScoreCalculatorClass)

    - #### withEasyScoreCalculatorCustomProperties

          public ScoreDirectorFactoryConfig withEasyScoreCalculatorCustomProperties​(Map<String,​String> easyScoreCalculatorCustomProperties)

    - #### withConstraintProviderClass

          public ScoreDirectorFactoryConfig withConstraintProviderClass​(Class<? extends ConstraintProvider> constraintProviderClass)

    - #### withConstraintProviderCustomProperties

          public ScoreDirectorFactoryConfig withConstraintProviderCustomProperties​(Map<String,​String> constraintProviderCustomProperties)

    - #### withConstraintStreamImplType

          public ScoreDirectorFactoryConfig withConstraintStreamImplType​(ConstraintStreamImplType constraintStreamImplType)

    - #### withIncrementalScoreCalculatorClass

          public ScoreDirectorFactoryConfig withIncrementalScoreCalculatorClass​(Class<? extends IncrementalScoreCalculator> incrementalScoreCalculatorClass)

    - #### withIncrementalScoreCalculatorCustomProperties

          public ScoreDirectorFactoryConfig withIncrementalScoreCalculatorCustomProperties​(Map<String,​String> incrementalScoreCalculatorCustomProperties)

    - #### withScoreDrlList

          public ScoreDirectorFactoryConfig withScoreDrlList​(List<String> scoreDrlList)

    - #### withScoreDrls

          public ScoreDirectorFactoryConfig withScoreDrls​(String... scoreDrls)

    - #### withScoreDrlFileList

          public ScoreDirectorFactoryConfig withScoreDrlFileList​(List<File> scoreDrlFileList)

    - #### withScoreDrlFiles

          public ScoreDirectorFactoryConfig withScoreDrlFiles​(File... scoreDrlFiles)

    - #### withInitializingScoreTrend

          public ScoreDirectorFactoryConfig withInitializingScoreTrend​(String initializingScoreTrend)

    - #### withAssertionScoreDirectorFactory

          public ScoreDirectorFactoryConfig withAssertionScoreDirectorFactory​(ScoreDirectorFactoryConfig assertionScoreDirectorFactory)

    - #### inherit

          public ScoreDirectorFactoryConfig inherit​(ScoreDirectorFactoryConfig inheritedConfig)

      Description copied from class: `AbstractConfig`
      Inherits each property of the `inheritedConfig` unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).

      After the inheritance, if a property on this `AbstractConfig` composition is replaced, it should not affect the inherited composition instance.

      Specified by:
        `inherit` in class `AbstractConfig<ScoreDirectorFactoryConfig>`
      Parameters:
        `inheritedConfig` - never null
      Returns:
        this

    - #### copyConfig

          public ScoreDirectorFactoryConfig copyConfig()

      Description copied from class: `AbstractConfig`
      Typically implemented by constructing a new instance and calling `AbstractConfig.inherit(AbstractConfig)` on it
      Specified by:
        `copyConfig` in class `AbstractConfig<ScoreDirectorFactoryConfig>`
      Returns:
        new instance