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 Summary
Constructors Constructor Description WorkflowElementAvailabilityCheck(IBaseEnvironmentData environmentData)
Creates a new availability check with the given environment data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailable(IWorkflowElementTypeProviding element, Object data)
-
-
-
Constructor Detail
-
WorkflowElementAvailabilityCheck
public WorkflowElementAvailabilityCheck(IBaseEnvironmentData environmentData)
Creates a new availability check with the given environment data.- Parameters:
environmentData
- Environment data to use.
-
-
Method Detail
-
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.
-
-