public class PurgeJobHistoryAction extends Object implements hudson.model.Action
Action to allow the user to purge the job history.| Modifier and Type | Class and Description |
|---|---|
static class |
PurgeJobHistoryAction.ActionInjector |
| Constructor and Description |
|---|
PurgeJobHistoryAction(hudson.model.AbstractItem item) |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doDoPurge(boolean resetNextBuild,
boolean forceDelete,
boolean recurse) |
String |
getDisplayName() |
String |
getIconFileName() |
hudson.model.AbstractItem |
getItem() |
String |
getUrlName() |
public PurgeJobHistoryAction(hudson.model.AbstractItem item)
public hudson.model.AbstractItem getItem()
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Action@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public org.kohsuke.stapler.HttpResponse doDoPurge(@QueryParameter(value="resetNextBuild")
boolean resetNextBuild,
@QueryParameter(value="forceDelete")
boolean forceDelete,
@QueryParameter(value="recurse")
boolean recurse)
throws IOException
IOExceptionCopyright © 2016–2020. All rights reserved.