Package software.amazon.smithy.diff
Class ChangedMetadata
java.lang.Object
software.amazon.smithy.diff.ChangedMetadata
- All Implemented Interfaces:
FromSourceLocation
Represents a change in metadata.
-
Method Details
-
getKey
Gets the key of the metadata that changed.- Returns:
- Returns the changed key.
-
getOldValue
Gets the old metadata value for this key.- Returns:
- Returns the value in the old model.
-
getNewValue
Gets the new metadata value for this key.- Returns:
- Returns the value in the new model.
-
getSourceLocation
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
equals
-
hashCode
public int hashCode()
-