Package org.optaplanner.core.impl.solver.event

## Class SolverLifecycleListenerAdapter<Solution_>

- java.lang.Object
- - org.optaplanner.core.impl.solver.event.SolverLifecycleListenerAdapter<Solution_>

- Type Parameters:
    `Solution_` - the solution type, the class with the `PlanningSolution` annotation
  All Implemented Interfaces:
    `EventListener`, `SolverLifecycleListener<Solution_>`
  Direct Known Subclasses:
    `ConstructionHeuristicPhaseLifecycleListenerAdapter`, `LocalSearchPhaseLifecycleListenerAdapter`, `PhaseLifecycleListenerAdapter`

      public abstract class SolverLifecycleListenerAdapter<Solution_>
      extends Object
      implements SolverLifecycleListener<Solution_>

  An adapter for `SolverLifecycleListener`.

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `solvingEnded​(DefaultSolverScope<Solution_> solverScope)` |
    `void` | `solvingStarted​(DefaultSolverScope<Solution_> solverScope)` |

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

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

- - ### Constructor Detail

    - #### SolverLifecycleListenerAdapter

          public SolverLifecycleListenerAdapter()

  - ### Method Detail

    - #### solvingStarted

          public void solvingStarted​(DefaultSolverScope<Solution_> solverScope)

      Specified by:
        `solvingStarted` in interface `SolverLifecycleListener<Solution_>`

    - #### solvingEnded

          public void solvingEnded​(DefaultSolverScope<Solution_> solverScope)

      Specified by:
        `solvingEnded` in interface `SolverLifecycleListener<Solution_>`