Class AbstractConnectorResponse

java.lang.Object
org.camunda.connect.impl.AbstractConnectorResponse
All Implemented Interfaces:
ConnectorResponse
Direct Known Subclasses:
AbstractCloseableConnectorResponse

public abstract class AbstractConnectorResponse extends Object implements ConnectorResponse
Author:
Daniel Meyer
  • Field Details

  • Constructor Details

    • AbstractConnectorResponse

      public AbstractConnectorResponse()
  • Method Details

    • getResponseParameters

      public Map<String,Object> getResponseParameters()
      Description copied from interface: ConnectorResponse
      Retrieves the map of output parameters from the response.
      Specified by:
      getResponseParameters in interface ConnectorResponse
      Returns:
      the map of output parameters.
    • getResponseParameter

      public <V> V getResponseParameter(String name)
      Description copied from interface: ConnectorResponse
      Returns the value of a response parameter or 'null' if no such parameter is set.
      Specified by:
      getResponseParameter in interface ConnectorResponse
      Parameters:
      name - the name of the response parameter
      Returns:
      the value of the response parameter of null.
    • collectResponseParameters

      protected abstract void collectResponseParameters(Map<String,Object> responseParameters)
      To be implemented by subclasses for collecting the generic response parameters of a response.
      Parameters:
      responseParameters - a map to save the response parameters in