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 CauseOfInterruptions 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
Nested ClassesModifier and TypeClassDescriptionstatic final classIndicates that the build was interrupted from UI. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringHuman readable description of why the build is cancelled.voidprint(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.
-