Package org.optaplanner.core.config.phase

## Class PhaseConfig<Config_ extends PhaseConfig<Config_>>

- java.lang.Object
- - org.optaplanner.core.config.AbstractConfig<Config_>
  - - org.optaplanner.core.config.phase.PhaseConfig<Config_>

- Direct Known Subclasses:
    `ConstructionHeuristicPhaseConfig`, `CustomPhaseConfig`, `ExhaustiveSearchPhaseConfig`, `LocalSearchPhaseConfig`, `NoChangePhaseConfig`, `PartitionedSearchPhaseConfig`

      public abstract class PhaseConfig<Config_ extends PhaseConfig<Config_>>
      extends AbstractConfig<Config_>

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TerminationConfig` | `getTerminationConfig()` |
    `Config_` | `inherit​(Config_ 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` | `setTerminationConfig​(TerminationConfig terminationConfig)` |
    `String` | `toString()` |

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

      `copyConfig`

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

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

- - ### Constructor Detail

    - #### PhaseConfig

          public PhaseConfig()

  - ### Method Detail

    - #### getTerminationConfig

          public TerminationConfig getTerminationConfig()

    - #### setTerminationConfig

          public void setTerminationConfig​(TerminationConfig terminationConfig)

    - #### inherit

          public Config_ inherit​(Config_ 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<Config_ extends PhaseConfig<Config_>>`
      Parameters:
        `inheritedConfig` - never null
      Returns:
        this

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `AbstractConfig<Config_ extends PhaseConfig<Config_>>`