Package hudson.model
Class Cause.UpstreamCause
java.lang.Object
hudson.model.Cause
hudson.model.Cause.UpstreamCause
- Enclosing class:
- Cause
A build is triggered by another build (AKA upstream build.)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
Constructor Summary
ConstructorDescriptionUpstreamCause
(AbstractBuild<?, ?> up) Deprecated.since 2009-02-28UpstreamCause
(Run<?, ?> up) -
Method Summary
Modifier and TypeMethodDescriptionboolean
One-line human-readable text of the cause.int
Run<?,
?> int
hashCode()
void
boolean
Returns true if this cause points to a build in the specified job.boolean
Returns true if this cause points to the specified build.void
print
(TaskListener listener) Report a line to the listener about this cause.toString()
-
Constructor Details
-
UpstreamCause
Deprecated.since 2009-02-28 -
UpstreamCause
-
-
Method Details
-
onLoad
-
equals
-
hashCode
public int hashCode() -
pointsTo
Returns true if this cause points to a build in the specified job. -
pointsTo
Returns true if this cause points to the specified build. -
getUpstreamProject
-
getUpstreamBuild
@Exported(visibility=3) public int getUpstreamBuild() -
getUpstreamRun
- Since:
- 1.505
-
getUpstreamUrl
-
getUpstreamCauses
-
getShortDescription
Description copied from class:Cause
One-line human-readable text of the cause. Historically, this method's return value was used to render HTML on the UI as well. Since Jenkins 2.315 and 2.303.2, the return value is interpreted as text. To have rich HTML output on the UI, provide a customdescription.jelly
view for your subclass. See the documentation.- Specified by:
getShortDescription
in classCause
-
print
Description copied from class:Cause
Report a line to the listener about this cause. -
toString
-