Package org.eclipse.jgit.internal.fsck
Class FsckError.CorruptObject
- java.lang.Object
-
- org.eclipse.jgit.internal.fsck.FsckError.CorruptObject
-
- Enclosing class:
- FsckError
public static class FsckError.CorruptObject extends java.lang.ObjectRepresents a corrupt object.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ObjectChecker.ErrorTypeerrorType(package private) ObjectIdid(package private) inttype
-
Constructor Summary
Constructors Constructor Description CorruptObject(ObjectId id, int type, ObjectChecker.ErrorType errorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectChecker.ErrorTypegetErrorType()ObjectIdgetId()intgetType()
-
-
-
Field Detail
-
id
final ObjectId id
-
type
final int type
-
errorType
@Nullable final ObjectChecker.ErrorType errorType
-
-
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.
-
getErrorType
@Nullable public ObjectChecker.ErrorType getErrorType()
- Returns:
- error type of the corruption.
-
-