Package com.lattix.api
Interface ProjectUpdater.UpdateResult
- Enclosing interface:
- ProjectUpdater
public static interface ProjectUpdater.UpdateResult
UpdateResult represents the delta between the previous and updated model
-
Method Summary
Modifier and TypeMethodDescriptionBasicCollection<com.lattix.core.depends.delta.AtomDelta>
Return the collection of atoms that changed in the modelBasicCollection<com.lattix.core.depends.delta.AtomDelta>
Return the collection of atoms that are no longer in the model.Return the collection of rule violations that are no longer in the model.BasicCollection<com.lattix.core.depends.delta.AtomDelta>
Return the collection of atoms that were not in the orignal model.Return the collection of rule violations that were not in the previous model.boolean
Return true if a report can be generated from this result
-
Method Details
-
isReportAvailable
boolean isReportAvailable()Return true if a report can be generated from this result- Returns:
- true if a report can be generated
-
getNewAtoms
BasicCollection<com.lattix.core.depends.delta.AtomDelta> getNewAtoms()Return the collection of atoms that were not in the orignal model.- Returns:
- a collection of new atoms.
-
getMissingAtoms
BasicCollection<com.lattix.core.depends.delta.AtomDelta> getMissingAtoms()Return the collection of atoms that are no longer in the model.- Returns:
- a collection of missing atoms.
-
getChangedAtoms
BasicCollection<com.lattix.core.depends.delta.AtomDelta> getChangedAtoms()Return the collection of atoms that changed in the model- Returns:
- a collection of changed atoms.
-
getMissingRuleViolations
RuleViolatorCollection getMissingRuleViolations()Return the collection of rule violations that are no longer in the model.- Returns:
- a collection of missing rule violations
-
getNewRuleViolations
RuleViolatorCollection getNewRuleViolations()Return the collection of rule violations that were not in the previous model.- Returns:
- a collection of new rule violations
-