Package org.eclipse.jgit.internal.fsck
Class FsckError.CorruptIndex
- java.lang.Object
-
- org.eclipse.jgit.internal.fsck.FsckError.CorruptIndex
-
- Enclosing class:
- FsckError
public static class FsckError.CorruptIndex extends java.lang.ObjectRepresents a corrupt pack index file.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CorruptPackIndexException.ErrorTypeerrorType(package private) java.lang.StringfileName
-
Constructor Summary
Constructors Constructor Description CorruptIndex(java.lang.String fileName, CorruptPackIndexException.ErrorType errorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorruptPackIndexException.ErrorTypegetErrorType()java.lang.StringgetFileName()
-
-
-
Field Detail
-
fileName
java.lang.String fileName
-
errorType
CorruptPackIndexException.ErrorType errorType
-
-
Constructor Detail
-
CorruptIndex
public CorruptIndex(java.lang.String fileName, CorruptPackIndexException.ErrorType errorType)- Parameters:
fileName- the file name of the pack index.errorType- the type of error as reported inCorruptPackIndexException.
-
-
Method Detail
-
getFileName
public java.lang.String getFileName()
- Returns:
- the file name of the index file.
-
getErrorType
public CorruptPackIndexException.ErrorType getErrorType()
- Returns:
- the error type of the corruption.
-
-