Class ServiceParameterUtil
- java.lang.Object
-
- com.flowable.serviceregistry.engine.impl.util.ServiceParameterUtil
-
public class ServiceParameterUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceParameterUtil()
-
Method Summary
-
-
-
Method Detail
-
convertParameterValue
public static Object convertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExpressionManager expressionManager, VariableContainer variableContainer)
-
convertParameterValue
public static Object convertParameterValue(String parameterName, String type, Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
convertValueToJson
protected static com.fasterxml.jackson.databind.JsonNode convertValueToJson(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
convertJsonParameterValue
public static Object convertJsonParameterValue(String parameterName, com.fasterxml.jackson.databind.JsonNode value, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
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
protected static ServiceInputParameter columnMappingToInputParameter(ColumnMapping mapping)
-
columnMappingToOutputParameter
protected static ServiceOutputParameter columnMappingToOutputParameter(ColumnMapping mapping, Supplier<ServiceRegistryDataObjectModel> currentModelSupplier, Function<String,ServiceRegistryDataObjectModel> dataObjectModelProvider)
-
getParameterName
public static String getParameterName(ServiceParameter parameter)
-
-