Class Statistics.UpstreamCause
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.statistics.Statistics.UpstreamCause
-
- Enclosing class:
- Statistics
public static class Statistics.UpstreamCause extends Object
Upstream cause.
-
-
Constructor Summary
Constructors Constructor Description UpstreamCause(Cause.UpstreamCause upstreamCause)
Constructor for Cause.UpstreamCause.UpstreamCause(String project, int build)
JSON constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getUpstreamBuild()
Getter for the upstream build number.String
getUpstreamProject()
Getter for the upstream build project.void
setUpstreamBuild(int buildNr)
Setter for the upstream build number.void
setUpstreamProject(String p)
Setter for the upstream build project.
-
-
-
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.
-
-