public class DiffContext extends Object
Modifier and Type | Method and Description |
---|---|
void |
addDifference(DiffType type,
Object originalSubchema,
Object updatedSubchema) |
static DiffContext |
createRootContext() |
static DiffContext |
createRootContext(String basePathFragmentUpdated) |
boolean |
foundAllDifferencesAreCompatible() |
boolean |
foundIncompatibleDifference()
Return true, if this context contains an incompatible difference.
|
Set<Difference> |
getDiff() |
void |
log(String message) |
DiffContext |
sub(String pathFragmentUpdated) |
String |
toString() |
public DiffContext sub(String pathFragmentUpdated)
public static DiffContext createRootContext(String basePathFragmentUpdated)
public static DiffContext createRootContext()
public void addDifference(DiffType type, Object originalSubchema, Object updatedSubchema)
public void log(String message)
public Set<Difference> getDiff()
public boolean foundIncompatibleDifference()
public boolean foundAllDifferencesAreCompatible()
Copyright © 2020 Red Hat. All rights reserved.