Class DeepPrune
- java.lang.Object
-
- com.adobe.acs.commons.mcp.ProcessDefinition
-
- com.adobe.acs.commons.mcp.impl.processes.DeepPrune
-
- All Implemented Interfaces:
FormProcessor,Serializable
public class DeepPrune extends ProcessDefinition implements Serializable
Stops all running sling jobs and empties the queue entirely.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intbatchSizeStringignorestatic StringJOB_TYPEintminPurgeDepthintnumPassesintretryCountintretryWaitStringstartingFolder
-
Constructor Summary
Constructors Constructor Description DeepPrune(org.apache.sling.event.jobs.JobManager jobManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)voidinit()voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)-
Methods inherited from class com.adobe.acs.commons.mcp.ProcessDefinition
getName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
-
-
-
Field Detail
-
startingFolder
public String startingFolder
-
minPurgeDepth
public int minPurgeDepth
-
numPasses
public int numPasses
-
ignore
public String ignore
-
batchSize
public int batchSize
-
retryCount
public int retryCount
-
retryWait
public int retryWait
-
JOB_TYPE
public static final String JOB_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
- Specified by:
initin interfaceFormProcessor
-
buildProcess
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException
- Specified by:
buildProcessin classProcessDefinition- Throws:
org.apache.sling.api.resource.LoginException
-
storeReport
public void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)
- Specified by:
storeReportin classProcessDefinition
-
-