com.dlsc.flexgantt.model.scheduling

## Class DefaultResolutionProvider

- java.lang.Object
- - com.dlsc.flexgantt.model.scheduling.DefaultResolutionProvider

- All Implemented Interfaces:
    IResolutionProvider

      public class DefaultResolutionProvider
      extends Object
      implements IResolutionProvider

  A default implementation of a resolution provider, which returns the most common resolutions that are available for fixing a violated constraint.
  Since:
    2.1
  Author:
    Dirk Lemmermann
  See Also:
    `DefaultTimeGranularityFixBufferResolution`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultResolutionProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<IResolution>` | `getResolutions(IConstraint constraint, Violation violation)` Returns the available resolutions for the given violated constraint.

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

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

- - ### Constructor Detail

    - #### DefaultResolutionProvider

          public DefaultResolutionProvider()

  - ### Method Detail

    - #### getResolutions

          public List<IResolution> getResolutions(IConstraint constraint,
                                                  Violation violation)

      Description copied from interface: `IResolutionProvider`
      Returns the available resolutions for the given violated constraint.
      Specified by:
        `getResolutions` in interface `IResolutionProvider`
      Parameters:
        `constraint` - the constraint
        `violation` - the violation
      Returns:
        a list of possible resolutions

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.