Class WorkflowRemovalConfig
java.lang.Object
com.adobe.acs.commons.workflow.bulk.removal.WorkflowRemovalConfig
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowRemovalConfig(Collection<String> modelIds, Collection<String> statuses, Collection<Pattern> payloads, Calendar olderThan, long olderThanMillis) Config for workflow removal instances that match the parameter criteria. -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intfinal Collection<String>final Calendarfinal longfinal Collection<Pattern>final Collection<String>final voidsetBatchSize(int batchSize) final voidsetMaxDurationInMins(int maxDurationInMins)
-
Constructor Details
-
WorkflowRemovalConfig
public WorkflowRemovalConfig(Collection<String> modelIds, Collection<String> statuses, Collection<Pattern> payloads, Calendar olderThan, long olderThanMillis) Config for workflow removal instances that match the parameter criteria.- Parameters:
modelIds- WF Models to removestatuses- WF Statuses to removepayloads- Regexes; WF Payloads to removeolderThan- UTC time in milliseconds; only delete WF's started after this timeolderThanMillis- Milliseconds; only delete WF's started after this milliseconds ago
-
-
Method Details
-
getModelIds
-
getStatuses
-
getPayloads
-
getOlderThan
-
getOlderThanMillis
public final long getOlderThanMillis() -
getBatchSize
public final int getBatchSize() -
getMaxDurationInMins
public final int getMaxDurationInMins() -
setBatchSize
public final void setBatchSize(int batchSize) -
setMaxDurationInMins
public final void setMaxDurationInMins(int maxDurationInMins)
-