Class FsckError.CorruptObject

  • Enclosing class:
    FsckError

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

      • 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 Detail

      • getId

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

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