Class AbstractDiffEvaluator
- java.lang.Object
- 
- software.amazon.smithy.diff.evaluators.AbstractDiffEvaluator
 
- 
- All Implemented Interfaces:
- DiffEvaluator
 - Direct Known Subclasses:
- AddedEntityBinding,- AddedMetadata,- AddedOperationError,- AddedRequiredMember,- AddedServiceError,- AddedShape,- AddedTraitDefinition,- ChangedDefault,- ChangedEnumTrait,- ChangedLengthTrait,- ChangedMemberOrder,- ChangedMemberTarget,- ChangedMetadata,- ChangedNullability,- ChangedOperationInput,- ChangedOperationOutput,- ChangedRangeTrait,- ChangedResourceIdentifiers,- ChangedShapeType,- EndpointSigV4Migration,- ModifiedTrait,- RemovedAuthenticationScheme,- RemovedEntityBinding,- RemovedMetadata,- RemovedOperationError,- RemovedServiceError,- RemovedShape,- RemovedTraitDefinition,- ServiceRename,- SigV4Migration,- TraitBreakingChange
 
 public abstract class AbstractDiffEvaluator extends java.lang.Object implements DiffEvaluator Provides a default diff evaluator implementation with utility methods for emitting events of different severities.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractDiffEvaluator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValidationEventdanger(Shape shape, java.lang.String message)protected ValidationEventdanger(Shape shape, FromSourceLocation location, java.lang.String message)protected ValidationEventerror(Shape shape, java.lang.String message)protected ValidationEventerror(Shape shape, FromSourceLocation location, java.lang.String message)protected java.lang.StringgetEventId()Gets the event ID of the evaluator.protected ValidationEventnote(Shape shape, java.lang.String message)protected ValidationEventnote(Shape shape, FromSourceLocation location, java.lang.String message)protected ValidationEventwarning(Shape shape, java.lang.String message)protected ValidationEventwarning(Shape shape, FromSourceLocation location, java.lang.String message)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.smithy.diff.DiffEvaluatorevaluate
 
- 
 
- 
- 
- 
Method Detail- 
getEventIdprotected java.lang.String getEventId() Gets the event ID of the evaluator.This can be overridden in subclasses to use a different ID. - Returns:
- Returns the computed event ID.
 
 - 
errorprotected final ValidationEvent error(Shape shape, java.lang.String message) 
 - 
errorprotected final ValidationEvent error(Shape shape, FromSourceLocation location, java.lang.String message) 
 - 
dangerprotected final ValidationEvent danger(Shape shape, java.lang.String message) 
 - 
dangerprotected final ValidationEvent danger(Shape shape, FromSourceLocation location, java.lang.String message) 
 - 
warningprotected final ValidationEvent warning(Shape shape, java.lang.String message) 
 - 
warningprotected final ValidationEvent warning(Shape shape, FromSourceLocation location, java.lang.String message) 
 - 
noteprotected final ValidationEvent note(Shape shape, java.lang.String message) 
 - 
noteprotected final ValidationEvent note(Shape shape, FromSourceLocation location, java.lang.String message) 
 
- 
 
-