org.optaplanner.core.config.domain

## Class ScanAnnotatedClassesConfig

- java.lang.Object
- - org.optaplanner.core.config.AbstractConfig<ScanAnnotatedClassesConfig>
  - - org.optaplanner.core.config.domain.ScanAnnotatedClassesConfig

-     public class ScanAnnotatedClassesConfig
      extends AbstractConfig<ScanAnnotatedClassesConfig>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScanAnnotatedClassesConfig()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SolutionDescriptor` | `buildSolutionDescriptor(SolverConfigContext configContext, ClassLoader classLoader, ScoreDefinition deprecatedScoreDefinition)`
    `ScanAnnotatedClassesConfig` | `copyConfig()` Typically implemented by constructing a new instance and calling `AbstractConfig.inherit(AbstractConfig)` on it
    `List<String>` | `getPackageIncludeList()`
    `ScanAnnotatedClassesConfig` | `inherit(ScanAnnotatedClassesConfig inheritedConfig)` Inherits each property of the `inheritedConfig` unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).
    `protected List<Class<?>>` | `loadEntityClassList(org.reflections.Reflections reflections)`
    `protected Class<?>` | `loadSolutionClass(org.reflections.Reflections reflections)`
    `void` | `setPackageIncludeList(List<String> packageIncludeList)`
    `String` | `toString()`

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

      `deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList`

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

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

- - ### Constructor Detail

    - #### ScanAnnotatedClassesConfig

          public ScanAnnotatedClassesConfig()

  - ### Method Detail

    - #### getPackageIncludeList

          public List<String> getPackageIncludeList()

    - #### setPackageIncludeList

          public void setPackageIncludeList(List<String> packageIncludeList)

    - #### buildSolutionDescriptor

          public SolutionDescriptor buildSolutionDescriptor(SolverConfigContext configContext,
                                                            ClassLoader classLoader,
                                                            ScoreDefinition deprecatedScoreDefinition)

    - #### loadSolutionClass

          protected Class<?> loadSolutionClass(org.reflections.Reflections reflections)

    - #### loadEntityClassList

          protected List<Class<?>> loadEntityClassList(org.reflections.Reflections reflections)

    - #### inherit

          public ScanAnnotatedClassesConfig inherit(ScanAnnotatedClassesConfig 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<ScanAnnotatedClassesConfig>`
      Parameters:
        `inheritedConfig` - never null
      Returns:
        this

    - #### copyConfig

          public ScanAnnotatedClassesConfig 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<ScanAnnotatedClassesConfig>`
      Returns:
        new instance

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractConfig<ScanAnnotatedClassesConfig>`

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