public class DefaultTimeGranularityFixBufferResolution extends AbstractResolution<TimeGranularity>
Constructor and Description |
---|
DefaultTimeGranularityFixBufferResolution(boolean waterfall)
Constructs a new instance of this resolution type.
|
Modifier and Type | Method and Description |
---|---|
void |
resolve(LayerContainer lc,
IConstraint<?,TimeGranularity> constraint,
Violation violation,
IModelValidator validator)
Resolves / fixes the violated constraint.
|
getResolutionName, toString
public DefaultTimeGranularityFixBufferResolution(boolean waterfall)
waterfall
- if TRUE then the resolution will be applied to all successor
timeline objects and their constraintspublic void resolve(LayerContainer lc, IConstraint<?,TimeGranularity> constraint, Violation violation, IModelValidator validator)
IResolution
lc
- the layer container where the fix will take placeconstraint
- the violated constraintviolation
- the violationvalidator
- the validator used for recursive (waterfall) constraint
resolutionCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.