public static class Statistics.UpstreamCause extends Object
Constructor and Description |
---|
UpstreamCause(Cause.UpstreamCause upstreamCause)
Constructor for Cause.UpstreamCause.
|
UpstreamCause(String project,
int build)
JSON constructor.
|
Modifier and Type | Method and 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.
|
public UpstreamCause(String project, int build)
project
- Upstream build project.build
- Upstream build number.public UpstreamCause(Cause.UpstreamCause upstreamCause)
upstreamCause
- The Cause to copy.public String getUpstreamProject()
public void setUpstreamProject(String p)
p
- The project to set.public int getUpstreamBuild()
public void setUpstreamBuild(int buildNr)
buildNr
- The project build to set.Copyright © 2016–2019. All rights reserved.