org.camunda.connect.impl
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
responseParameters
protected Map<String,Object> responseParameters
AbstractConnectorResponse
public AbstractConnectorResponse()
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
Copyright © 2015 camunda services GmbH. All rights reserved.