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) protected static com.fasterxml.jackson.databind.JsonNodeconvertValueToJson(Object value, com.fasterxml.jackson.databind.ObjectMapper objectMapper) 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)
-
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) -
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
-