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:
getDatain 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:
getElementin interfaceIWorkflowElementWithDeserializedModel<TData,TElement extends IWorkflowElementEntity> - Returns:
- The workflow element, i.e. a node or trigger.
-
getKey
- Specified by:
getKeyin interfaceIElementKeyProviding- Returns:
- The key that identifies this instance.
-
getValidationContext
- Specified by:
getValidationContextin interfaceIElementLocalValidationParams<TData,TElement extends IWorkflowElementEntity> - Returns:
- The validation context of the current workflow validation process.
-