Class DisableConcurrentBuildsJobProperty.CancelledCause
- java.lang.Object
-
- jenkins.model.CauseOfInterruption
-
- org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty.CancelledCause
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DisableConcurrentBuildsJobProperty
public static final class DisableConcurrentBuildsJobProperty.CancelledCause extends CauseOfInterruption
Records that a build was canceled because ofDisableConcurrentBuildsJobProperty.isAbortPrevious()
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.model.CauseOfInterruption
CauseOfInterruption.UserInterruption
-
-
Constructor Summary
Constructors Constructor Description CancelledCause(Run<?,?> newerBuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Run<?,?>
getNewerBuild()
String
getShortDescription()
void
print(TaskListener listener)
-
-
-
Constructor Detail
-
CancelledCause
public CancelledCause(Run<?,?> newerBuild)
-
-
Method Detail
-
getNewerBuild
@Exported @Nullable public Run<?,?> getNewerBuild()
-
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in classCauseOfInterruption
-
print
public void print(TaskListener listener)
- Overrides:
print
in classCauseOfInterruption
-
-