Class DtPullResult


  • public class DtPullResult
    extends Object
    Encapsulates the result of pull command with a rebase mode. Based on PullResult
    • Constructor Detail

      • DtPullResult

        public DtPullResult​(org.eclipse.jgit.transport.FetchResult fetchResult,
                            String fetchedFrom,
                            org.eclipse.jgit.api.RebaseResult rebaseResult)
        Creates a new instance with the given parameters.
        Parameters:
        fetchResult - fetch result, can be null
        fetchedFrom - the name of the remote configuration from which fetch was tried, cannot be null
        rebaseResult - rebase result, can be null
      • DtPullResult

        public DtPullResult​(org.eclipse.jgit.transport.FetchResult fetchResult,
                            String fetchedFrom,
                            org.eclipse.jgit.api.MergeResult mergeResult)
        Creates a new instance with the given parameters.
        Parameters:
        fetchResult - fetch result, can be null
        fetchedFrom - the name of the remote configuration from which fetch was tried, cannot be null
        mergeResult - merge result, can be null
    • Method Detail

      • getFetchResult

        public org.eclipse.jgit.transport.FetchResult getFetchResult()
        Get fetch result
        Returns:
        the fetch result, or null
      • getMergeResult

        public org.eclipse.jgit.api.MergeResult getMergeResult()
        Get merge result
        Returns:
        the merge result, or null
      • getRebaseResult

        public org.eclipse.jgit.api.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, never null
      • isSuccessful

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