Class WorkflowRemovalConfig

java.lang.Object
com.adobe.acs.commons.workflow.bulk.removal.WorkflowRemovalConfig

public final class WorkflowRemovalConfig extends Object
  • 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 remove
      statuses - WF Statuses to remove
      payloads - Regexes; WF Payloads to remove
      olderThan - UTC time in milliseconds; only delete WF's started after this time
      olderThanMillis - Milliseconds; only delete WF's started after this milliseconds ago
  • Method Details

    • getModelIds

      public final Collection<String> getModelIds()
    • getStatuses

      public final Collection<String> getStatuses()
    • getPayloads

      public final Collection<Pattern> getPayloads()
    • getOlderThan

      public final Calendar 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)