@ExportedBean public abstract class CauseOfInterruption extends Object implements Serializable
getShortDescription() text.
Two CauseOfInterruptions that are equal will get
merged together.
Executor.interrupt(Result, CauseOfInterruption...),
InterruptedBuildAction,
Serialized Form| Modifier 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 © 2019. All rights reserved.