Interface IElementGlobalValidationParams<TData,TElement extends IWorkflowElementEntity>
- Type Parameters:
TData
- Type of the properties model for the node. SeeINodeHandler
.TElement
- Type of the workflow element, i.e. a node or trigger.
- All Known Implementing Classes:
ElementGlobalValidationParams
public interface IElementGlobalValidationParams<TData,TElement extends IWorkflowElementEntity>
Interface for the parameters that are passed to
IElementHandler.validateGlobal(IElementGlobalValidationParams)
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getElementsByTask
Map<UUID,List<IWorkflowElementWithDeserializedModel<TData, getElementsByTask()WorkflowNode>>> - Returns:
- A list of all nodes of the same
IWorkflowElementTypeProviding.getType()
to which theIElementHandler
applies. These are the workflow elements that for which a global validation is to be performed. Use thegetValidationContext()
to add validation errors. The map key is the UUID of theWorkflowTask
to which the elements belong.
-
getValidationContext
IWorkflowGlobalHandlerValidationContext getValidationContext()- Returns:
- The validation context of the current workflow validation process.
-