Class WorkflowRemover
java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.WorkflowRemover
- All Implemented Interfaces:
FormProcessor
Removes workflow process instances based on specified conditions.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionlong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) longvoidinit()voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) Methods inherited from class com.adobe.acs.commons.mcp.ProcessDefinition
getName, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
Field Details
-
payloadPaths
-
olderThanVal
-
olderThanMillis
public long olderThanMillis -
modelIds
-
statuses
-
-
Constructor Details
-
WorkflowRemover
-
-
Method Details
-
buildProcess
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException, javax.jcr.RepositoryException - Specified by:
buildProcessin classProcessDefinition- Throws:
org.apache.sling.api.resource.LoginExceptionjavax.jcr.RepositoryException
-
storeReport
public void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException - Specified by:
storeReportin classProcessDefinition- Throws:
javax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceException
-
init
public void init() throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
getModelIds
-
getPayloads
-
getOlderThan
-
getOlderThanMillis
public long getOlderThanMillis() -
getStatuses
-
getWorkflowRemovalConfig
-