public abstract class ProcessKillingVeto extends Object implements ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
ProcessKillingVeto.VetoCause
Describes the cause for a process killing veto.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ProcessKillingVeto() |
Modifier and Type | Method and Description |
---|---|
static List<ProcessKillingVeto> |
all() |
abstract ProcessKillingVeto.VetoCause |
vetoProcessKilling(ProcessTreeRemoting.IOSProcess p)
Ask the extension whether it vetoes killing of the given process
|
public static List<ProcessKillingVeto> all()
@CheckForNull public abstract ProcessKillingVeto.VetoCause vetoProcessKilling(@NonNull ProcessTreeRemoting.IOSProcess p)
p
- The process that is about to be killedProcessKillingVeto.VetoCause
if the process should not be killed,
null else.Copyright © 2004–2021. All rights reserved.