Interface ArtifactDelta
- All Known Implementing Classes:
ClassfileComparator.ClassfileArtifactDelta,CompoundArtifactDelta,SimpleArtifactDelta
public interface ArtifactDelta
Represents both simple and compound artifact delta.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArtifactDeltaa default instance that indicate an item is only present in the baseline but no more detailsstatic final ArtifactDeltaa default instance that indicates there is a difference but can't tell any further detailsstatic final ArtifactDeltaa default instance that indicate an item is missing from what is found in the baselinestatic final ArtifactDeltaA delta that represents no difference was found -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteDetails(File destination) Writes some details about this delta to the given destination
-
Field Details
-
NO_DIFFERENCE
A delta that represents no difference was found -
DEFAULT
a default instance that indicates there is a difference but can't tell any further details -
BASELINE_ONLY
a default instance that indicate an item is only present in the baseline but no more details -
MISSING_FROM_BASELINE
a default instance that indicate an item is missing from what is found in the baseline
-
-
Method Details
-
getMessage
String getMessage()- Returns:
- description of the delta, never null.
-
getDetailedMessage
String getDetailedMessage()- Returns:
- detailed description of the delta, never null.
-
writeDetails
Writes some details about this delta to the given destination- Parameters:
destination-- Throws:
IOException
-