Class FsckError.CorruptObject

java.lang.Object
org.eclipse.jgit.internal.fsck.FsckError.CorruptObject
Enclosing class:
FsckError

public static class FsckError.CorruptObject extends Object
Represents a corrupt object.
  • Constructor Details

    • CorruptObject

      public CorruptObject(ObjectId id, int type, @Nullable ObjectChecker.ErrorType errorType)
      Parameters:
      id - the object identifier.
      type - type of the object.
      errorType - kind of error
  • Method Details

    • getId

      public ObjectId getId()
      Get Id
      Returns:
      identifier of the object.
    • getType

      public int getType()
      Get type
      Returns:
      type of the object.
    • getErrorType

      @Nullable public ObjectChecker.ErrorType getErrorType()
      Get error type
      Returns:
      error type of the corruption.