Package org.eclipse.jgit.internal.fsck
Class FsckError.CorruptObject
- java.lang.Object
-
- org.eclipse.jgit.internal.fsck.FsckError.CorruptObject
-
-
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.ErrorType
getErrorType()
ObjectId
getId()
int
getType()
-
-
-
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.
-
-