Class RevisionInfo.ParentInfo

java.lang.Object
com.google.gerrit.extensions.common.RevisionInfo.ParentInfo
Enclosing class:
RevisionInfo

public static class RevisionInfo.ParentInfo extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The name of the target branch where the patch-set commit is set to be merged into.
    If the parent commit is a patch-set of another gerrit change, this field will hold the change ID of the parent change.
    If the parent commit is a patch-set of another gerrit change, this field will hold the change number of the parent change.
    If the parent commit is a patch-set of another gerrit change, this field will hold the change status of the parent change.
    The commit SHA-1 of the parent commit.
    Whether the parent commit is merged in the target branch.
    If the parent commit is a patch-set of another gerrit change, this field will hold the patch-set number of the parent change.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • branchName

      public String branchName
      The name of the target branch where the patch-set commit is set to be merged into.
    • commitId

      public String commitId
      The commit SHA-1 of the parent commit.
    • isMergedInTargetBranch

      public Boolean isMergedInTargetBranch
      Whether the parent commit is merged in the target branch.
    • changeId

      public String changeId
      If the parent commit is a patch-set of another gerrit change, this field will hold the change ID of the parent change. Otherwise, will be null.
    • changeNumber

      public Integer changeNumber
      If the parent commit is a patch-set of another gerrit change, this field will hold the change number of the parent change. Otherwise, will be null.
    • patchSetNumber

      public Integer patchSetNumber
      If the parent commit is a patch-set of another gerrit change, this field will hold the patch-set number of the parent change. Otherwise, will be null.
    • changeStatus

      public String changeStatus
      If the parent commit is a patch-set of another gerrit change, this field will hold the change status of the parent change. Otherwise, will be null.
  • Constructor Details

    • ParentInfo

      public ParentInfo()
  • Method Details