public abstract class ProcCleaner extends Object implements hudson.model.Describable<ProcCleaner>, hudson.ExtensionPoint, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProcCleaner.CleanRequest
Callable to invoke particular cleaner holding all data it can need.
|
static class |
ProcCleaner.ProcCleanerDescriptor |
Constructor and Description |
---|
ProcCleaner() |
Modifier and Type | Method and Description |
---|---|
static hudson.ExtensionList<ProcCleaner> |
all() |
abstract void |
clean(ProcCleaner.CleanRequest request)
Clean the processes.
|
ProcCleaner.ProcCleanerDescriptor |
getDescriptor() |
static int |
getpid() |
void |
performCleanup(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setup()
Prepare cleaner for action.
|
public static int getpid()
public void setup()
public abstract void clean(ProcCleaner.CleanRequest request) throws IOException, InterruptedException
IOException
InterruptedException
public final void performCleanup(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
public ProcCleaner.ProcCleanerDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<ProcCleaner>
public static hudson.ExtensionList<ProcCleaner> all()
Copyright © 2016–2021. All rights reserved.