Class Statistics.UpstreamCause
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.statistics.Statistics.UpstreamCause
- Enclosing class:
- Statistics
Upstream cause.
-
Constructor Summary
ConstructorDescriptionUpstreamCause
(Cause.UpstreamCause upstreamCause) Constructor for Cause.UpstreamCause.UpstreamCause
(String project, int build) JSON constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Getter for the upstream build number.Getter for the upstream build project.void
setUpstreamBuild
(int buildNr) Setter for the upstream build number.void
Setter for the upstream build project.
-
Constructor Details
-
UpstreamCause
JSON constructor.- Parameters:
project
- Upstream build project.build
- Upstream build number.
-
UpstreamCause
Constructor for Cause.UpstreamCause.- Parameters:
upstreamCause
- The Cause to copy.
-
-
Method Details
-
getUpstreamProject
Getter for the upstream build project.- Returns:
- the upstream build project.
-
setUpstreamProject
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.
-