Class ConnectorHelper
java.lang.Object
io.camunda.connector.runtime.util.ConnectorHelper
The ConnectorHelper provide utility functions used to build connector runtimes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic FeelEngineWrapperstatic com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOutputVariables(Object responseContent, Map<String, String> jobHeaders) examineErrorExpression(Object responseContent, Map<String, String> jobHeaders) static <T> TinstantiateConnector(Class<? extends T> connectorClass)
-
Field Details
-
FEEL_ENGINE_WRAPPER
-
OBJECT_MAPPER
public static com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
-
-
Constructor Details
-
ConnectorHelper
public ConnectorHelper()
-
-
Method Details
-
createOutputVariables
public static Map<String,Object> createOutputVariables(Object responseContent, Map<String, String> jobHeaders) - Returns:
- a map with output process variables for a given response from an
OutboundConnectorFunctionor anInboundConnectorExecutable. configured with headers from a Zeebe Job or inbound Connector properties.
-
examineErrorExpression
-
instantiateConnector
-