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)`
    `List<String>` | `getPackageIncludeList()`
    `void` | `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

      `copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance`

    - ### 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 void 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

    - #### toString

          public String toString()

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

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