## Uses of Class
com.dlsc.flexgantt.model.scheduling.Violation

- Packages that use Violation
  Package | Description
  --- | ---
  com.dlsc.flexgantt.model.scheduling | Contains supporting classes for basic scheduling operations and constraint resolutions.

- - ### Uses of Violation in com.dlsc.flexgantt.model.scheduling

    Methods in com.dlsc.flexgantt.model.scheduling that return Violation
    Modifier and Type | Method and Description
    --- | ---
    `Violation` | ConstraintViolationMessage.`getViolation()` Returns the violation.
    `Violation` | IConstraint.`getViolation(long time1, long time2)` Checks whether a violation of the constraint exists for the given two time points.
    `Violation` | AbstractConstraint.`getViolation(long time1, long time2)`

    Methods in com.dlsc.flexgantt.model.scheduling with parameters of type Violation
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | DefaultModelValidator.`createViolationText(IConstraint con, Violation violation)` Creates a text description of the violation of a constraint.
    `List<IResolution>` | DefaultResolutionProvider.`getResolutions(IConstraint constraint, Violation violation)`
    `List<IResolution>` | IResolutionProvider.`getResolutions(IConstraint constraint, Violation violation)` Returns the available resolutions for the given violated constraint.
    `void` | IResolution.`resolve(LayerContainer lc, IConstraint<?,T> constraint, Violation violation, IModelValidator validator)` Resolves / fixes the violated constraint.
    `void` | DefaultTimeGranularityFixBufferResolution.`resolve(LayerContainer lc, IConstraint<?,TimeGranularity> constraint, Violation violation, IModelValidator validator)`

    Constructors in com.dlsc.flexgantt.model.scheduling with parameters of type Violation
    Constructor and Description
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, IModelValidator modelValidator, String text, Object details, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, IModelValidator modelValidator, String text, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Date time, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Object details, Date time, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, Object details, TimelineObjectPath path)` Constructs a new constraint violation message.
    `ConstraintViolationMessage(IConstraint constraint, Violation violation, MessageTypeId id, IModelValidator modelValidator, String text, TimelineObjectPath path)` Constructs a new constraint violation message.

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