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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause -
Constructor Summary
ConstructorsConstructorDescriptionUpstreamCause(AbstractBuild<?, ?> up) Deprecated.since 2009-02-28UpstreamCause(Run<?, ?> up) -
Method Summary
Modifier and TypeMethodDescriptionbooleanOne-line human-readable text of the cause.intRun<?,?> inthashCode()voidbooleanReturns true if this cause points to a build in the specified job.booleanReturns true if this cause points to the specified build.voidprint(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:CauseOne-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.jellyview for your subclass. See the documentation.- Specified by:
getShortDescriptionin classCause
-
print
Description copied from class:CauseReport a line to the listener about this cause. -
toString
-