public class PsCleaner extends ProcCleaner
| Modifier and Type | Class and Description |
|---|---|
static class |
PsCleaner.PsCleanerDescriptor |
ProcCleaner.CleanRequest, ProcCleaner.ProcCleanerDescriptor| Modifier and Type | Method and Description |
|---|---|
void |
clean(ProcCleaner.CleanRequest request)
Clean the processes.
|
PsCleaner.PsCleanerDescriptor |
getDescriptor() |
String |
getKillerType() |
void |
setup()
Prepare cleaner for action.
|
all, getpid, performCleanup@DataBoundConstructor public PsCleaner(String killerType)
public String getKillerType()
public void setup()
ProcCleanersetup in class ProcCleanerpublic void clean(ProcCleaner.CleanRequest request) throws IOException, InterruptedException
ProcCleanerclean in class ProcCleanerIOExceptionInterruptedExceptionpublic PsCleaner.PsCleanerDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<ProcCleaner>getDescriptor in class ProcCleanerCopyright © 2016–2021. All rights reserved.