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()
ProcCleaner
setup
in class ProcCleaner
public void clean(ProcCleaner.CleanRequest request) throws IOException, InterruptedException
ProcCleaner
clean
in class ProcCleaner
IOException
InterruptedException
public PsCleaner.PsCleanerDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<ProcCleaner>
getDescriptor
in class ProcCleaner
Copyright © 2016–2021. All rights reserved.