- 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.ErrorTypegetErrorType()ObjectIdgetId()intgetType()
-
-
-
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.
-
-