@ExportedBean public abstract class CauseOfInterruption extends Object implements Serializable
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.
Two CauseOfInterruption
s that are equal will get
merged together.
Executor.interrupt(Result, CauseOfInterruption...)
,
InterruptedBuildAction
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
CauseOfInterruption.UserInterruption
Indicates that the build was interrupted from UI.
|
Constructor and Description |
---|
CauseOfInterruption() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getShortDescription()
Human readable description of why the build is cancelled.
|
void |
print(TaskListener listener)
Report a line to the listener about this cause.
|
@Exported public abstract String getShortDescription()
public void print(TaskListener listener)
Copyright © 2004–2021. All rights reserved.