Class TaskMappingsServiceTaskImplementationValidator
- java.lang.Object
-
- org.activiti.cloud.services.modeling.validation.extensions.TaskMappingsServiceTaskImplementationValidator
-
- All Implemented Interfaces:
ModelValidationErrorProducer,TaskMappingsValidator
public class TaskMappingsServiceTaskImplementationValidator extends Object implements TaskMappingsValidator
Implementation ofTaskMappingsValidatorforServiceTaskimplementation
-
-
Field Summary
Fields Modifier and Type Field Description static StringUNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_DESCRIPTIONstatic StringUNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_PROBLEMstatic StringUNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_DESCRIPTIONstatic StringUNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_PROBLEM
-
Constructor Summary
Constructors Constructor Description TaskMappingsServiceTaskImplementationValidator(ConnectorModelType connectorModelType, ConnectorModelContentConverter connectorModelContentConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<ModelValidationError>validateTaskMappings(List<MappingModel> taskMappings, Map<String,Constant> taskConstants, ValidationContext validationContext)Validate the given list of task mappings.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationError
-
-
-
-
Field Detail
-
UNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_PROBLEM
public static final String UNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_PROBLEM
- See Also:
- Constant Field Values
-
UNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_DESCRIPTION
public static final String UNKNOWN_CONNECTOR_PARAMETER_VALIDATION_ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
UNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_PROBLEM
public static final String UNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_PROBLEM
- See Also:
- Constant Field Values
-
UNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_DESCRIPTION
public static final String UNKNOWN_CONNECTOR_ACTION_VALIDATION_ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskMappingsServiceTaskImplementationValidator
public TaskMappingsServiceTaskImplementationValidator(ConnectorModelType connectorModelType, ConnectorModelContentConverter connectorModelContentConverter)
-
-
Method Detail
-
validateTaskMappings
public Stream<ModelValidationError> validateTaskMappings(List<MappingModel> taskMappings, Map<String,Constant> taskConstants, ValidationContext validationContext)
Description copied from interface:TaskMappingsValidatorValidate the given list of task mappings.- Specified by:
validateTaskMappingsin interfaceTaskMappingsValidator- Parameters:
taskMappings- the list of task mappings to validatetaskConstants- the constants associated to the taskvalidationContext- the validation context- Returns:
- the stream of validation errors
-
-