A B C D E G H I M N O R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDiffEvaluator - Class in software.amazon.smithy.diff.evaluators
-
Provides a default diff evaluator implementation with utility methods for emitting events of different severities.
- AbstractDiffEvaluator() - Constructor for class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- AddedEntityBinding - Class in software.amazon.smithy.diff.evaluators
-
A meta-validator that emits a NOTE when an operation resource is added to a service or resource entity.
- AddedEntityBinding() - Constructor for class software.amazon.smithy.diff.evaluators.AddedEntityBinding
- addedMetadata() - Method in class software.amazon.smithy.diff.Differences
-
Gets all added metadata.
- AddedMetadata - Class in software.amazon.smithy.diff.evaluators
-
Creates a NOTE event when metadata is added.
- AddedMetadata() - Constructor for class software.amazon.smithy.diff.evaluators.AddedMetadata
- AddedOperationError - Class in software.amazon.smithy.diff.evaluators
-
Emits a warning when an error is added to an operation.
- AddedOperationError() - Constructor for class software.amazon.smithy.diff.evaluators.AddedOperationError
- AddedServiceError - Class in software.amazon.smithy.diff.evaluators
-
Emits a warning when an error is added to a service.
- AddedServiceError() - Constructor for class software.amazon.smithy.diff.evaluators.AddedServiceError
- AddedShape - Class in software.amazon.smithy.diff.evaluators
-
Creates a NOTE event when a shape is added.
- AddedShape() - Constructor for class software.amazon.smithy.diff.evaluators.AddedShape
- addedShapes() - Method in class software.amazon.smithy.diff.Differences
-
Gets all added shapes.
- addedShapes(Class<T>) - Method in class software.amazon.smithy.diff.Differences
-
Gets all of the added shapes of a specific type.
- AddedTraitDefinition - Class in software.amazon.smithy.diff.evaluators
-
Creates a NOTE event when a trait definition is added.
- AddedTraitDefinition() - Constructor for class software.amazon.smithy.diff.evaluators.AddedTraitDefinition
- addedTraits() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets a stream of added traits.
B
- builder() - Static method in class software.amazon.smithy.diff.ModelDiff
-
Creates a new ModelDiff.Builder that provides in-depth diff analysis.
C
- ChangedEnumTrait - Class in software.amazon.smithy.diff.evaluators
-
Emits a NOTE when a new enum value is appended, emits an ERROR when an enum value is removed, emits an ERROR when an enum name changes, and emits an ERROR when a new enum value is inserted before the end of the list of existing values.
- ChangedEnumTrait() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedEnumTrait
- ChangedLengthTrait - Class in software.amazon.smithy.diff.evaluators
-
Detects when the Length trait is made more restrictive by either raising the min or lowering the max.
- ChangedLengthTrait() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedLengthTrait
- ChangedMemberOrder - Class in software.amazon.smithy.diff.evaluators
-
Creates a DANGER event when a structure or union member is added anywhere other than the end of the previous definition or the member order is changed.
- ChangedMemberOrder() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedMemberOrder
- ChangedMemberTarget - Class in software.amazon.smithy.diff.evaluators
-
Checks for changes in the shapes targeted by a member.
- ChangedMemberTarget() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedMemberTarget
- changedMetadata() - Method in class software.amazon.smithy.diff.Differences
-
Gets a stream of all changed metadata.
- ChangedMetadata - Class in software.amazon.smithy.diff
-
Represents a change in metadata.
- ChangedMetadata - Class in software.amazon.smithy.diff.evaluators
-
Creates a WARNING event when metadata is changed.
- ChangedMetadata() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedMetadata
- ChangedNullability - Class in software.amazon.smithy.diff.evaluators
-
Validates that only backward compatible changes are made to structure member nullability to ensure that if something was previously nullable to clients then it continue to be nullable and vice versa.
- ChangedNullability() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedNullability
- ChangedOperationInput - Class in software.amazon.smithy.diff.evaluators
-
Emits an ERROR when the input shape of an operation is changed to another shape.
- ChangedOperationInput() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedOperationInput
- ChangedOperationOutput - Class in software.amazon.smithy.diff.evaluators
-
Emits an ERROR when the output shape of an operation is changed to another shape.
- ChangedOperationOutput() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedOperationOutput
- ChangedRangeTrait - Class in software.amazon.smithy.diff.evaluators
-
Detects when the Range trait is made more restrictive by either raising the min or lowering the max.
- ChangedRangeTrait() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedRangeTrait
- ChangedResourceIdentifiers - Class in software.amazon.smithy.diff.evaluators
-
Creates an ERROR event when the identifiers of a resource changes.
- ChangedResourceIdentifiers() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedResourceIdentifiers
- ChangedShape<S extends software.amazon.smithy.model.shapes.Shape> - Class in software.amazon.smithy.diff
-
Represents a changed shape.
- ChangedShape(S, S) - Constructor for class software.amazon.smithy.diff.ChangedShape
- changedShapes() - Method in class software.amazon.smithy.diff.Differences
-
Gets all changed shapes.
- changedShapes(Class<T>) - Method in class software.amazon.smithy.diff.Differences
-
Gets all changed shapes of a specific type.
- ChangedShapeType - Class in software.amazon.smithy.diff.evaluators
-
Creates an ERROR event when the type of a shape changes.
- ChangedShapeType() - Constructor for class software.amazon.smithy.diff.evaluators.ChangedShapeType
- changedTraits() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets a stream of changed traits.
- classLoader(ClassLoader) - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Sets the ClassLoader used to find
DiffEvaluator
service providers. - compare() - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Performs the diff of the old and new models.
- compare(ClassLoader, Model, Model) - Static method in class software.amazon.smithy.diff.ModelDiff
-
Evaluates the differences between two models.
- compare(Model, Model) - Static method in class software.amazon.smithy.diff.ModelDiff
-
Evaluates the differences between two models.
D
- danger(Shape, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- danger(Shape, FromSourceLocation, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- determineIntroducedEvents() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets the validation events that were introduced by whatever changes were made to the new model.
- determineResolvedEvents() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets the validation events that were present in the old model but are no longer an issue in the new model.
- Differences - Class in software.amazon.smithy.diff
-
Queryable container for detected structural differences between two models.
- DiffEvaluator - Interface in software.amazon.smithy.diff
-
Interface used to evaluate two models and their normalized differences and return
ValidationEvent
s that are relative to the new model.
E
- equals(Object) - Method in class software.amazon.smithy.diff.ChangedMetadata
- equals(Object) - Method in class software.amazon.smithy.diff.ChangedShape
- equals(Object) - Method in class software.amazon.smithy.diff.Differences
- equals(Object) - Method in class software.amazon.smithy.diff.ModelDiff.Result
- error(Shape, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- error(Shape, FromSourceLocation, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- evaluate(Differences) - Method in interface software.amazon.smithy.diff.DiffEvaluator
-
Returns validation events given two models and the detected differences between them.
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedEntityBinding
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedMetadata
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedOperationError
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedServiceError
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedShape
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.AddedTraitDefinition
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedEnumTrait
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedMemberOrder
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedMemberTarget
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedMetadata
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedNullability
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedOperationInput
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedOperationOutput
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedResourceIdentifiers
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ChangedShapeType
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ModifiedTrait
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedAuthenticationScheme
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedEntityBinding
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedMetadata
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedOperationError
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedServiceError
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedShape
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.RemovedTraitDefinition
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.ServiceRename
- evaluate(Differences) - Method in class software.amazon.smithy.diff.evaluators.TraitBreakingChange
G
- getChangedTrait(Class<T>) - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets a changed trait of a specific type.
- getDifferences() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets a queryable set of differences between two models.
- getDiffEvents() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets the diff analysis as a list of
ValidationEvent
s. - getEventId() - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
-
Gets the event ID of the evaluator.
- getKey() - Method in class software.amazon.smithy.diff.ChangedMetadata
-
Gets the key of the metadata that changed.
- getMax(LengthTrait) - Method in class software.amazon.smithy.diff.evaluators.ChangedLengthTrait
- getMax(RangeTrait) - Method in class software.amazon.smithy.diff.evaluators.ChangedRangeTrait
- getMin(LengthTrait) - Method in class software.amazon.smithy.diff.evaluators.ChangedLengthTrait
- getMin(RangeTrait) - Method in class software.amazon.smithy.diff.evaluators.ChangedRangeTrait
- getNewModel() - Method in class software.amazon.smithy.diff.Differences
-
Gets the new model.
- getNewModelEvents() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets the validation events emitted when validating the new model.
- getNewShape() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets the new shape value.
- getNewValue() - Method in class software.amazon.smithy.diff.ChangedMetadata
-
Gets the new metadata value for this key.
- getOldModel() - Method in class software.amazon.smithy.diff.Differences
-
Gets the old model.
- getOldModelEvents() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Gets the validation events emitted when validating the old model.
- getOldShape() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets the old shape value.
- getOldValue() - Method in class software.amazon.smithy.diff.ChangedMetadata
-
Gets the old metadata value for this key.
- getShapeId() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets the shape ID of the changed shape.
- getSourceLocation() - Method in class software.amazon.smithy.diff.ChangedMetadata
- getSourceLocation() - Method in class software.amazon.smithy.diff.ChangedShape
- getTraitDifferences() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets the trait differences between the old and new shape.
- getTraitType() - Method in class software.amazon.smithy.diff.evaluators.ChangedLengthTrait
- getTraitType() - Method in class software.amazon.smithy.diff.evaluators.ChangedRangeTrait
H
- hashCode() - Method in class software.amazon.smithy.diff.ChangedMetadata
- hashCode() - Method in class software.amazon.smithy.diff.ChangedShape
- hashCode() - Method in class software.amazon.smithy.diff.Differences
- hashCode() - Method in class software.amazon.smithy.diff.ModelDiff.Result
I
- isDiffBreaking() - Method in class software.amazon.smithy.diff.ModelDiff.Result
-
Determines if the diff events contain any DANGER or ERROR events.
- isTraitAdded(ShapeId) - Method in class software.amazon.smithy.diff.ChangedShape
-
Checks if the trait was added.
- isTraitInBoth(ShapeId) - Method in class software.amazon.smithy.diff.ChangedShape
-
Checks if the given trait is in the old shape and new shape.
- isTraitRemoved(ShapeId) - Method in class software.amazon.smithy.diff.ChangedShape
-
Checks if the trait was removed.
M
- ModelDiff - Class in software.amazon.smithy.diff
-
Computes the difference between two models and any problems that might occur due to those differences.
- ModelDiff.Builder - Class in software.amazon.smithy.diff
-
Builder used to construct a diff of two Smithy models.
- ModelDiff.Result - Class in software.amazon.smithy.diff
-
The result of comparing two Smithy models.
- ModifiedTrait - Class in software.amazon.smithy.diff.evaluators
-
Finds breaking changes related to when a trait is added, removed, or updated.
- ModifiedTrait() - Constructor for class software.amazon.smithy.diff.evaluators.ModifiedTrait
N
- newModel(Model) - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Sets the new model to compare against.
- newModel(ValidatedResult<Model>) - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Sets the new model to compare against along with the validation events encountered while loading the model.
- note(Shape, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- note(Shape, FromSourceLocation, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
O
- oldModel(Model) - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Sets the old model to compare against.
- oldModel(ValidatedResult<Model>) - Method in class software.amazon.smithy.diff.ModelDiff.Builder
-
Sets the old model to compare against along with the validation events encountered while loading the model.
R
- RemovedAuthenticationScheme - Class in software.amazon.smithy.diff.evaluators
-
TODO: Implement evaluator to find removed authentication schemes.
- RemovedAuthenticationScheme() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedAuthenticationScheme
- RemovedEntityBinding - Class in software.amazon.smithy.diff.evaluators
-
A meta-validator that checks for the removal of an operation or resource binding from a service or resource.
- RemovedEntityBinding() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedEntityBinding
- removedMetadata() - Method in class software.amazon.smithy.diff.Differences
-
Gets all removed metadata.
- RemovedMetadata - Class in software.amazon.smithy.diff.evaluators
-
Creates a DANGER event when metadata is removed.
- RemovedMetadata() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedMetadata
- RemovedOperationError - Class in software.amazon.smithy.diff.evaluators
-
Emits a warning when an error is removed from an operation.
- RemovedOperationError() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedOperationError
- RemovedServiceError - Class in software.amazon.smithy.diff.evaluators
-
Emits a warning when an error is removed from a service.
- RemovedServiceError() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedServiceError
- RemovedShape - Class in software.amazon.smithy.diff.evaluators
-
Creates an ERROR event when a non-private shape is removed.
- RemovedShape() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedShape
- removedShapes() - Method in class software.amazon.smithy.diff.Differences
-
Gets all removed shapes.
- removedShapes(Class<T>) - Method in class software.amazon.smithy.diff.Differences
-
Gets all of the removed shapes of a specific type.
- RemovedTraitDefinition - Class in software.amazon.smithy.diff.evaluators
-
Creates an ERROR event when a trait definition is removed.
- RemovedTraitDefinition() - Constructor for class software.amazon.smithy.diff.evaluators.RemovedTraitDefinition
- removedTraits() - Method in class software.amazon.smithy.diff.ChangedShape
-
Gets a stream of removed traits.
- Result(Differences, List<ValidationEvent>, List<ValidationEvent>, List<ValidationEvent>) - Constructor for class software.amazon.smithy.diff.ModelDiff.Result
S
- ServiceRename - Class in software.amazon.smithy.diff.evaluators
-
Creates an ERROR event when a shape is renamed that was already part of the service, when a rename changes for a shape, or when a rename is removed for a shape.
- ServiceRename() - Constructor for class software.amazon.smithy.diff.evaluators.ServiceRename
- software.amazon.smithy.diff - package software.amazon.smithy.diff
- software.amazon.smithy.diff.evaluators - package software.amazon.smithy.diff.evaluators
T
- TraitBreakingChange - Class in software.amazon.smithy.diff.evaluators
-
Finds breaking changes related to when a trait is added, removed, or updated based on the breakingChanges property of traits.
- TraitBreakingChange() - Constructor for class software.amazon.smithy.diff.evaluators.TraitBreakingChange
W
- warning(Shape, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
- warning(Shape, FromSourceLocation, String) - Method in class software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
All Classes All Packages