Class ServiceParameterUtil
java.lang.Object
com.flowable.serviceregistry.engine.impl.util.ServiceParameterUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ServiceInputParameterprotected static ServiceOutputParametercolumnMappingToOutputParameter(ColumnMapping mapping, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) static ObjectconvertJsonParameterValue(String parameterName, com.fasterxml.jackson.databind.JsonNode value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static ObjectconvertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static ObjectconvertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExpressionManager expressionManager, VariableContainer variableContainer) static ObjectconvertParameterValueConsiderTypeReference(ServiceDefinition serviceDefinition, String parameterName, String type, TypeReference typeReference, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected static com.fasterxml.jackson.databind.JsonNodeconvertValueToJson(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected static ObjectcreateDataDictionaryTypedObject(ServiceDefinition serviceDefinition, String name, Object data, TypeReference typeReference) static Collection<ServiceInputParameter>extractServiceInputParameters(ServiceDefinitionModel model, ServiceOperation operation) static Collection<ServiceOutputParameter>extractServiceOutputParameters(ServiceDefinitionModel model, ServiceOperation operation, ServiceInvocationContextImpl context) static Collection<ServiceOutputParameter>static Collection<ServiceOutputParameter>extractServiceOutputParameters(ServiceDefinitionModel model, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) static StringgetParameterName(ServiceParameter parameter) protected static StringgetParentDeploymentId(ServiceDefinition serviceDefinition, ServiceRegistryEngineConfiguration configuration)
-
Constructor Details
-
ServiceParameterUtil
public ServiceParameterUtil()
-
-
Method Details
-
convertParameterValue
public static Object convertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExpressionManager expressionManager, VariableContainer variableContainer) -
convertParameterValueConsiderTypeReference
public static Object convertParameterValueConsiderTypeReference(ServiceDefinition serviceDefinition, String parameterName, String type, TypeReference typeReference, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
convertParameterValue
-
convertValueToJson
protected static com.fasterxml.jackson.databind.JsonNode convertValueToJson(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
convertJsonParameterValue
-
extractServiceInputParameters
public static Collection<ServiceInputParameter> extractServiceInputParameters(ServiceDefinitionModel model, ServiceOperation operation) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, ServiceOperation operation, ServiceInvocationContextImpl context) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, ServiceInvocationContextImpl context) -
extractServiceOutputParameters
public static Collection<ServiceOutputParameter> extractServiceOutputParameters(ServiceDefinitionModel model, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) -
columnMappingToInputParameter
-
columnMappingToOutputParameter
protected static ServiceOutputParameter columnMappingToOutputParameter(ColumnMapping mapping, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String, ServiceRegistryDataObjectModel> dataObjectModelProvider) -
getParameterName
-
createDataDictionaryTypedObject
protected static Object createDataDictionaryTypedObject(ServiceDefinition serviceDefinition, String name, Object data, TypeReference typeReference) -
getParentDeploymentId
protected static String getParentDeploymentId(ServiceDefinition serviceDefinition, ServiceRegistryEngineConfiguration configuration)
-