Package com.sonyericsson.rebuild
Class RebuildCause
- java.lang.Object
-
- hudson.model.Cause
-
- hudson.model.Cause.UpstreamCause
-
- com.sonyericsson.rebuild.RebuildCause
-
public class RebuildCause extends Cause.UpstreamCause
A cause specifying that the build was a rebuild of another build. Extends UpstreamCause so that a lot of the magic that Jenkins does with Upstream builds is inherited (linking, etc).- Author:
- Joel Johnson, Oleg Nenashev
-
-
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
-
-
Constructor Summary
Constructors Constructor Description RebuildCause(Run<?,?> up)
RebuildCause constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortDescription()
String
getShortDescritptionHTML()
Method returns ShortDescriptionHTML.void
print(TaskListener listener)
-
Methods inherited from class hudson.model.Cause.UpstreamCause
equals, getUpstreamBuild, getUpstreamCauses, getUpstreamProject, getUpstreamRun, getUpstreamUrl, hashCode, onLoad, pointsTo, pointsTo, toString
-
-
-
-
Constructor Detail
-
RebuildCause
public RebuildCause(Run<?,?> up)
RebuildCause constructor.- Parameters:
up
- Run.
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescription
in classCause.UpstreamCause
-
getShortDescritptionHTML
public String getShortDescritptionHTML()
Method returns ShortDescriptionHTML.- Returns:
- String description.
-
print
public void print(TaskListener listener)
- Overrides:
print
in classCause.UpstreamCause
-
-