Package org.eclipse.jgit.api
Class ApplyCommand.Result
java.lang.Object
org.eclipse.jgit.api.ApplyCommand.Result
- Enclosing class:
ApplyCommand
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 ClassesModifier and TypeClassDescriptionstatic class
A wrapper for a patch applying error that affects a given file. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
treeId
-
paths
-
errors
-
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
getPaths
Get modified paths- Returns:
- List of modified paths.
-
getTreeId
Get tree ID- Returns:
- The applied tree ID.
-
getErrors
Get errors- Returns:
- Errors occurred while applying the patch.
- Since:
- 6.6
-
addError
-