Class PullResult

java.lang.Object
org.eclipse.jgit.api.PullResult

public class PullResult extends Object
Encapsulates the result of a PullCommand
  • Field Details

    • fetchResult

      private final FetchResult fetchResult
    • mergeResult

      private final MergeResult mergeResult
    • rebaseResult

      private final RebaseResult rebaseResult
    • fetchedFrom

      private final String fetchedFrom
  • Constructor Details

  • Method Details

    • getFetchResult

      public FetchResult getFetchResult()
      Get fetch result
      Returns:
      the fetch result, or null
    • getMergeResult

      public MergeResult getMergeResult()
      Get merge result
      Returns:
      the merge result, or null
    • getRebaseResult

      public RebaseResult getRebaseResult()
      Get rebase result
      Returns:
      the rebase result, or null
    • getFetchedFrom

      public String getFetchedFrom()
      Get name of the remote configuration from which fetch was tried
      Returns:
      the name of the remote configuration from which fetch was tried, or null
    • isSuccessful

      public boolean isSuccessful()
      Whether the pull was successful
      Returns:
      whether the pull was successful
    • toString

      public String toString()
      Overrides:
      toString in class Object