Class CancelledCause
- java.lang.Object
-
- jenkins.model.CauseOfInterruption
-
- org.jenkinsci.plugins.pipeline.milestone.CancelledCause
-
- All Implemented Interfaces:
Serializable
public final class CancelledCause extends CauseOfInterruption
Records that a build was canceled because it reached a milestone but a newer build already passed it, or a newer buildMilestone.wentAway(Run)
from the last milestone the build passed.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.model.CauseOfInterruption
CauseOfInterruption.UserInterruption
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Run<?,?>
getNewerBuild()
String
getShortDescription()
-
Methods inherited from class jenkins.model.CauseOfInterruption
print
-
-
-
-
Method Detail
-
getNewerBuild
@Exported @Nullable public Run<?,?> getNewerBuild()
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCauseOfInterruption
-
-