Package com.cedarsoftware.util
Class GraphComparator.DeltaError
java.lang.Object
com.cedarsoftware.util.GraphComparator.Delta
com.cedarsoftware.util.GraphComparator.DeltaError
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GraphComparator
Extension of
GraphComparator.Delta
that associates an error message with the
delta that failed to be applied.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cedarsoftware.util.GraphComparator.Delta
GraphComparator.Delta.Command
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeltaError
(String error, GraphComparator.Delta delta) Construct a delta error. -
Method Summary
Methods inherited from class com.cedarsoftware.util.GraphComparator.Delta
equals, getCmd, getFieldName, getId, getOptionalKey, getSourceValue, getTargetValue, hashCode, setCmd, setFieldName, setId, setOptionalKey, setSourceValue, setTargetValue
-
Field Details
-
error
-
-
Constructor Details
-
DeltaError
Construct a delta error.- Parameters:
error
- message describing the problemdelta
- the delta that failed
-
-
Method Details
-
getError
- Returns:
- the error message
-
toString
- Overrides:
toString
in classGraphComparator.Delta
-