Class Statistics.UpstreamCause

  • Enclosing class:
    Statistics

    public static class Statistics.UpstreamCause
    extends Object
    Upstream cause.
    • Constructor Detail

      • UpstreamCause

        public UpstreamCause​(String project,
                             int build)
        JSON constructor.
        Parameters:
        project - Upstream build project.
        build - Upstream build number.
      • UpstreamCause

        public UpstreamCause​(Cause.UpstreamCause upstreamCause)
        Constructor for Cause.UpstreamCause.
        Parameters:
        upstreamCause - The Cause to copy.
    • Method Detail

      • getUpstreamProject

        public String getUpstreamProject()
        Getter for the upstream build project.
        Returns:
        the upstream build project.
      • setUpstreamProject

        public void setUpstreamProject​(String p)
        Setter for the upstream build project.
        Parameters:
        p - The project to set.
      • getUpstreamBuild

        public int getUpstreamBuild()
        Getter for the upstream build number.
        Returns:
        the upstream build number.
      • setUpstreamBuild

        public void setUpstreamBuild​(int buildNr)
        Setter for the upstream build number.
        Parameters:
        buildNr - The project build to set.