Package hudson.plugins.promoted_builds
Class PromotionCause
- java.lang.Object
-
- hudson.model.Cause
-
- hudson.model.Cause.UpstreamCause
-
- hudson.plugins.promoted_builds.PromotionCause
-
public class PromotionCause extends Cause.UpstreamCause
Cause used to indicate that a build was triggered by a promotion. Extends UpstreamCause so that existing build steps can use "the upstream build that triggered this build" (or something like that).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause.UpstreamCause
Cause.UpstreamCause.ConverterImpl, Cause.UpstreamCause.DeeplyNestedUpstreamCause
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getShortDescription()
int
hashCode()
void
print(TaskListener listener)
-
Methods inherited from class hudson.model.Cause.UpstreamCause
getUpstreamBuild, getUpstreamCauses, getUpstreamProject, getUpstreamRun, getUpstreamUrl, onLoad, pointsTo, pointsTo, toString
-
-
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescription
in classCause.UpstreamCause
-
print
public void print(TaskListener listener)
- Overrides:
print
in classCause.UpstreamCause
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCause.UpstreamCause
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classCause.UpstreamCause
-
-