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 toIElementHandler.validateGlobal(IElementGlobalValidationParams).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<UUID,List<IWorkflowElementWithDeserializedModel<TData,WorkflowNode>>>getElementsByTask()IWorkflowGlobalHandlerValidationContextgetValidationContext()
-
-
-
Method Detail
-
getElementsByTask
Map<UUID,List<IWorkflowElementWithDeserializedModel<TData,WorkflowNode>>> getElementsByTask()
- Returns:
- A list of all nodes of the same
typeto which theIElementHandlerapplies. 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 theWorkflowTaskto which the elements belong.
-
getValidationContext
IWorkflowGlobalHandlerValidationContext getValidationContext()
- Returns:
- The validation context of the current workflow validation process.
-
-