public static final class ModelDiff.Result
extends java.lang.Object
Constructor and Description |
---|
Result(Differences differences,
java.util.List<ValidationEvent> diffEvents,
java.util.List<ValidationEvent> oldModelEvents,
java.util.List<ValidationEvent> newModelEvents) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ValidationEvent> |
determineIntroducedEvents()
Gets the validation events that were introduced by whatever changes
were made to the new model.
|
java.util.Set<ValidationEvent> |
determineResolvedEvents()
Gets the validation events that were present in the old model but
are no longer an issue in the new model.
|
boolean |
equals(java.lang.Object o) |
Differences |
getDifferences()
Gets a queryable set of differences between two models.
|
java.util.List<ValidationEvent> |
getDiffEvents()
Gets the diff analysis as a list of
ValidationEvent s. |
java.util.List<ValidationEvent> |
getNewModelEvents()
Gets the validation events emitted when validating the new model.
|
java.util.List<ValidationEvent> |
getOldModelEvents()
Gets the validation events emitted when validating the old model.
|
int |
hashCode() |
boolean |
isDiffBreaking()
Determines if the diff events contain any DANGER or ERROR events.
|
public Result(Differences differences, java.util.List<ValidationEvent> diffEvents, java.util.List<ValidationEvent> oldModelEvents, java.util.List<ValidationEvent> newModelEvents)
public Differences getDifferences()
public java.util.List<ValidationEvent> getDiffEvents()
ValidationEvent
s.public java.util.List<ValidationEvent> getOldModelEvents()
public java.util.List<ValidationEvent> getNewModelEvents()
public java.util.Set<ValidationEvent> determineResolvedEvents()
public java.util.Set<ValidationEvent> determineIntroducedEvents()
public boolean isDiffBreaking()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object