public abstract class AbstractSConnector extends Object implements SConnector
| Constructor and Description |
|---|
AbstractSConnector() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Object> |
execute()
Execute the connector.
|
protected Object |
getInputParameter(String paramName) |
protected Map<String,Object> |
getOutputParameters() |
void |
setInputParameters(Map<String,Object> parameters)
Set the input parameter for a connector.
|
protected void |
setOutputParameter(String paramName,
Object value) |
abstract void |
validate()
Validate the input parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, disconnectpublic final void setInputParameters(Map<String,Object> parameters)
SConnectorsetInputParameters in interface SConnectorparameters - parameters is a map with parameter names and their value.public abstract void validate()
throws SConnectorValidationException
SConnectorvalidate in interface SConnectorSConnectorValidationExceptionpublic abstract Map<String,Object> execute() throws SConnectorException
SConnectorexecute in interface SConnectorSConnectorExceptionCopyright © 2018 Bonitasoft S.A.. All rights reserved.