org.optaplanner.core.impl.solver.event

## Class SolverEventSupport<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.solver.event.AbstractEventSupport<SolverEventListener<Solution_>>
  - - org.optaplanner.core.impl.solver.event.SolverEventSupport<Solution_>

- Type Parameters:
    `Solution_` - the solution type, the class with the `PlanningSolution` annotation

      public class SolverEventSupport<Solution_>
      extends AbstractEventSupport<SolverEventListener<Solution_>>

  Internal API.

- - ### Field Summary

    - ### Fields inherited from class org.optaplanner.core.impl.solver.event.AbstractEventSupport

      `eventListenerSet`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolverEventSupport(Solver<Solution_> solver)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `fireBestSolutionChanged(DefaultSolverScope<Solution_> solverScope, Solution_ newBestSolution)`

    - ### Methods inherited from class org.optaplanner.core.impl.solver.event.AbstractEventSupport

      `addEventListener, removeEventListener`

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

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

- - ### Constructor Detail

    - #### SolverEventSupport

          public SolverEventSupport(Solver<Solution_> solver)

  - ### Method Detail

    - #### fireBestSolutionChanged

          public void fireBestSolutionChanged(DefaultSolverScope<Solution_> solverScope,
                                              Solution_ newBestSolution)

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