Interface ArtifactDelta

All Known Implementing Classes:
ClassfileComparator.ClassfileArtifactDelta, CompoundArtifactDelta, SimpleArtifactDelta

public interface ArtifactDelta
Represents both simple and compound artifact delta.
  • Field Details

    • NO_DIFFERENCE

      static final ArtifactDelta NO_DIFFERENCE
      A delta that represents no difference was found
    • DEFAULT

      static final ArtifactDelta DEFAULT
      a default instance that indicates there is a difference but can't tell any further details
    • BASELINE_ONLY

      static final ArtifactDelta BASELINE_ONLY
      a default instance that indicate an item is only present in the baseline but no more details
    • MISSING_FROM_BASELINE

      static final ArtifactDelta 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

      void writeDetails(File destination) throws IOException
      Writes some details about this delta to the given destination
      Parameters:
      destination -
      Throws:
      IOException