|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.Cause
hudson.model.Cause.UpstreamCause
public static class Cause.UpstreamCause
A build is triggered by the completion of another build (AKA upstream build.)
Nested Class Summary | |
---|---|
static class |
Cause.UpstreamCause.ConverterImpl
|
static class |
Cause.UpstreamCause.DeeplyNestedUpstreamCause
|
Nested classes/interfaces inherited from class hudson.model.Cause |
---|
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause |
Constructor Summary | |
---|---|
Cause.UpstreamCause(AbstractBuild<?,?> up)
Deprecated. since 2009-02-28 |
|
Cause.UpstreamCause(Run<?,?> up)
|
Method Summary | |
---|---|
String |
getShortDescription()
One-line human-readable text of the cause. |
int |
getUpstreamBuild()
|
List<Cause> |
getUpstreamCauses()
|
String |
getUpstreamProject()
|
Run<?,?> |
getUpstreamRun()
|
String |
getUpstreamUrl()
|
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()
|
Methods inherited from class hudson.model.Cause |
---|
onAddedTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cause.UpstreamCause(AbstractBuild<?,?> up)
public Cause.UpstreamCause(Run<?,?> up)
Method Detail |
---|
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 List<Cause> getUpstreamCauses()
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
print
in class Cause
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |