Class MergeResult


  • public class MergeResult
    extends Object
    Holds the result of a merge from a remote repository
    Since:
    4.0.0
    Author:
    joseross
    • Field Detail

      • successful

        protected final boolean successful
        Indicates if the pull was successful
      • commitsMerged

        protected final long commitsMerged
        Total number of commits merged from the remote repository
      • mergeCommitId

        protected final String mergeCommitId
        The merge commit id
    • Constructor Detail

      • MergeResult

        public MergeResult​(boolean successful,
                           long commitsMerged,
                           String mergeCommitId)
    • Method Detail

      • isSuccessful

        public boolean isSuccessful()
      • getCommitsMerged

        public long getCommitsMerged()
      • getMergeCommitId

        public String getMergeCommitId()