Modifier and Type | Class and Description |
---|---|
static class |
Cause.UpstreamCause.ConverterImpl |
static class |
Cause.UpstreamCause.DeeplyNestedUpstreamCause |
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
Constructor and Description |
---|
UpstreamCause(AbstractBuild<?,?> up)
Deprecated.
since 2009-02-28
|
UpstreamCause(Run<?,?> up) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object rhs) |
String |
getShortDescription()
One-line human-readable text of the cause.
|
int |
getUpstreamBuild() |
List<Cause> |
getUpstreamCauses() |
String |
getUpstreamProject() |
Run<?,?> |
getUpstreamRun() |
String |
getUpstreamUrl() |
int |
hashCode() |
void |
onLoad(Job<?,?> _job,
int _buildNumber) |
boolean |
pointsTo(Job<?,?> j)
Returns true if this cause points to a build in the specified job.
|
boolean |
pointsTo(Run<?,?> r)
Returns true if this cause points to the specified build.
|
void |
print(TaskListener listener)
Report a line to the listener about this cause.
|
String |
toString() |
@Deprecated public UpstreamCause(AbstractBuild<?,?> up)
public UpstreamCause(Run<?,?> up)
public void onLoad(@NonNull Job<?,?> _job, int _buildNumber)
public boolean pointsTo(Job<?,?> j)
public boolean pointsTo(Run<?,?> r)
@Exported(visibility=3) public String getUpstreamProject()
@Exported(visibility=3) public int getUpstreamBuild()
@CheckForNull public Run<?,?> getUpstreamRun()
@Exported(visibility=3) public String getUpstreamUrl()
public String getShortDescription()
Cause
By default, this method is used to render HTML as well.
getShortDescription
in class Cause
public void print(TaskListener listener)
Cause
Copyright © 2004–2021. All rights reserved.