- java.lang.Object
-
- org.eclipse.jgit.patch.PatchApplier.Result
-
- Enclosing class:
- PatchApplier
public static class PatchApplier.Result extends Object
A wrapper for returning both the applied tree ID and the applied files list, as well as file specific errors.- Since:
- 6.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchApplier.Result.ErrorA wrapper for a patch applying error that affects a given file.
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PatchApplier.Result.Error>getErrors()List<String>getPaths()ObjectIdgetTreeId()
-
-
-
Method Detail
-
getTreeId
public ObjectId getTreeId()
- Returns:
- The applied tree ID.
-
getErrors
public List<PatchApplier.Result.Error> getErrors()
- Returns:
- Errors occurred while applying the patch.
- Since:
- 6.6
-
-