public final class ModelDiff
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelDiff.Builder
Builder used to construct a diff of two Smithy models.
|
static class |
ModelDiff.Result
The result of comparing two Smithy models.
|
| Modifier and Type | Method and Description |
|---|---|
static ModelDiff.Builder |
builder()
Creates a new ModelDiff.Builder that provides in-depth diff analysis.
|
static java.util.List<software.amazon.smithy.model.validation.ValidationEvent> |
compare(java.lang.ClassLoader classLoader,
software.amazon.smithy.model.Model oldModel,
software.amazon.smithy.model.Model newModel)
Evaluates the differences between two models.
|
static java.util.List<software.amazon.smithy.model.validation.ValidationEvent> |
compare(software.amazon.smithy.model.Model oldModel,
software.amazon.smithy.model.Model newModel)
Evaluates the differences between two models.
|
public static ModelDiff.Builder builder()
public static java.util.List<software.amazon.smithy.model.validation.ValidationEvent> compare(software.amazon.smithy.model.Model oldModel,
software.amazon.smithy.model.Model newModel)
Use ModelDiff.Builder directly to get access to additional information.
oldModel - Previous version of the model.newModel - New model to compare.public static java.util.List<software.amazon.smithy.model.validation.ValidationEvent> compare(java.lang.ClassLoader classLoader,
software.amazon.smithy.model.Model oldModel,
software.amazon.smithy.model.Model newModel)
Use ModelDiff.Builder directly to get access to additional information.
classLoader - ClassLoader used to find DiffEvaluator service providers.oldModel - Previous version of the model.newModel - New model to compare.