Class WorkflowElementAvailabilityCheck

java.lang.Object
de.xima.fc.workflow.processor.logic.WorkflowElementAvailabilityCheck

public class WorkflowElementAvailabilityCheck extends Object
Utility for checking whether a workflow element is available and allowed to be used.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • WorkflowElementAvailabilityCheck

      public WorkflowElementAvailabilityCheck(IBaseEnvironmentData environmentData)
      Creates a new availability check with the given environment data.
      Parameters:
      environmentData - Environment data to use.
  • Method Details

    • isAvailable

      public boolean isAvailable(IWorkflowElementTypeProviding element, Object data)
      Parameters:
      element - Type of the workflow element to check.
      data - Deserialized model of the workflow element.
      Returns:
      Whether the workflow element is available and allowed to be used.