Package org.optaplanner.core.impl.phase.custom

## Class DefaultCustomPhaseFactory<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.phase.AbstractPhaseFactory<Solution_,​CustomPhaseConfig>
  - - org.optaplanner.core.impl.phase.custom.DefaultCustomPhaseFactory<Solution_>

- All Implemented Interfaces:
    `PhaseFactory<Solution_>`

      public class DefaultCustomPhaseFactory<Solution_>
      extends AbstractPhaseFactory<Solution_,​CustomPhaseConfig>

- - ### Field Summary

    - ### Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhaseFactory

      `phaseConfig`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultCustomPhaseFactory​(CustomPhaseConfig phaseConfig)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `CustomPhase<Solution_>` | `buildPhase​(int phaseIndex, HeuristicConfigPolicy<Solution_> solverConfigPolicy, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> solverTermination)` |

    - ### Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhaseFactory

      `buildPhaseTermination`

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

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

- - ### Constructor Detail

    - #### DefaultCustomPhaseFactory

          public DefaultCustomPhaseFactory​(CustomPhaseConfig phaseConfig)

  - ### Method Detail

    - #### buildPhase

          public CustomPhase<Solution_> buildPhase​(int phaseIndex,
                                                   HeuristicConfigPolicy<Solution_> solverConfigPolicy,
                                                   BestSolutionRecaller<Solution_> bestSolutionRecaller,
                                                   Termination<Solution_> solverTermination)