Class ElementLocalValidationParams<TData,TElement extends IWorkflowElementEntity>
java.lang.Object
de.xima.fc.workflow.processor.model.ElementLocalValidationParams<TData,TElement>
- Type Parameters:
TData
- Type of the properties model used by the node, seeINodeHandler
.TElement
- Type of the workflow element, i.e. a node or trigger.
- All Implemented Interfaces:
IElementKeyProviding
,IWorkflowElementWithDeserializedModel<TData,
,TElement> IElementLocalValidationParams<TData,
TElement>
public final class ElementLocalValidationParams<TData,TElement extends IWorkflowElementEntity>
extends Object
implements IElementLocalValidationParams<TData,TElement>
Default POJO implementation of
IElementLocalValidationParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionElementLocalValidationParams
(IWorkflowLocalHandlerValidationContext validationContext, TElement element, ElementKey key, TData data) Creates a new POJO implementation with the given values. -
Method Summary
-
Constructor Details
-
ElementLocalValidationParams
public ElementLocalValidationParams(IWorkflowLocalHandlerValidationContext validationContext, TElement element, ElementKey key, TData data) Creates a new POJO implementation with the given values.- Parameters:
validationContext
- The value that will be returned byIElementLocalValidationParams.getValidationContext()
.element
- The value that will be returned byIWorkflowElementWithDeserializedModel.getElement()
.key
- The value that will be returned byIElementKeyProviding.getKey()
.data
- The value that will be returned byIWorkflowElementWithDeserializedModel.getData()
.
-
-
Method Details
-
getData
- Specified by:
getData
in interfaceIWorkflowElementWithDeserializedModel<TData,
TElement extends IWorkflowElementEntity> - Returns:
- The custom data of the workflow element. This is passed for convenience, it the the same as
ICustomParametersProviding.getCustomParameters()
, but already deserialized and updated.
-
getElement
- Specified by:
getElement
in interfaceIWorkflowElementWithDeserializedModel<TData,
TElement extends IWorkflowElementEntity> - Returns:
- The workflow element, i.e. a node or trigger.
-
getKey
- Specified by:
getKey
in interfaceIElementKeyProviding
- Returns:
- The key that identifies this instance.
-
getValidationContext
- Specified by:
getValidationContext
in interfaceIElementLocalValidationParams<TData,
TElement extends IWorkflowElementEntity> - Returns:
- The validation context of the current workflow validation process.
-