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 ofIElementLocalValidationParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ElementLocalValidationParams(IWorkflowLocalHandlerValidationContext validationContext, TElement element, ElementKey key, TData data)
Creates a new POJO implementation with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TData
getData()
TElement
getElement()
ElementKey
getKey()
IWorkflowLocalHandlerValidationContext
getValidationContext()
-
-
-
Constructor Detail
-
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 Detail
-
getData
public TData 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
public TElement getElement()
- Specified by:
getElement
in interfaceIWorkflowElementWithDeserializedModel<TData,TElement extends IWorkflowElementEntity>
- Returns:
- The workflow element, i.e. a node or trigger.
-
getKey
public ElementKey getKey()
- Specified by:
getKey
in interfaceIElementKeyProviding
- Returns:
- The key that identifies this instance.
-
getValidationContext
public IWorkflowLocalHandlerValidationContext getValidationContext()
- Specified by:
getValidationContext
in interfaceIElementLocalValidationParams<TData,TElement extends IWorkflowElementEntity>
- Returns:
- The validation context of the current workflow validation process.
-
-