Package jenkins.model
Class CauseOfInterruption
java.lang.Object
jenkins.model.CauseOfInterruption
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CauseOfInterruption.UserInterruption
Records why an executor is interrupted.
View
summary.groovy/.jelly
should do one-line HTML rendering to be used while rendering
"build history" widget, next to the blocking build. By default it simply renders
getShortDescription()
text.
Value equality semantics
Two CauseOfInterruption
s that are equal will get
merged together.
Persistence
The implementation should be serializable both in Java serialization and XStream.- Since:
- 1.425
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Indicates that the build was interrupted from UI. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Human readable description of why the build is cancelled.void
print
(TaskListener listener) Report a line to the listener about this cause.
-
Constructor Details
-
CauseOfInterruption
public CauseOfInterruption()
-
-
Method Details
-
getShortDescription
Human readable description of why the build is cancelled. -
print
Report a line to the listener about this cause.
-