Class PatchApplier.Result

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
  • Constructor Details

    • Result

      public Result()
  • Method Details

    • getPaths

      public List<String> getPaths()
      Get modified paths
      Returns:
      List of modified paths.
    • getTreeId

      public ObjectId getTreeId()
      Get tree ID
      Returns:
      The applied tree ID.
    • getErrors

      public List<PatchApplier.Result.Error> getErrors()
      Get errors
      Returns:
      Errors occurred while applying the patch.
      Since:
      6.6