Class WorkflowElementAvailabilityCheck
java.lang.Object
de.xima.fc.workflow.processor.logic.WorkflowElementAvailabilityCheck
Utility for checking whether a workflow element is available and allowed to be used.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowElementAvailabilityCheck
(IBaseEnvironmentData environmentData) Creates a new availability check with the given environment data. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAvailable
(IWorkflowElementTypeProviding element, Object data)
-
Constructor Details
-
WorkflowElementAvailabilityCheck
Creates a new availability check with the given environment data.- Parameters:
environmentData
- Environment data to use.
-
-
Method Details
-
isAvailable
- 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.
-