public interface SConnector
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Called by the engine before the connector is executed
This method can be implemented by connectors to handle here opening of connections like database connection
|
void |
disconnect()
Called by the engine after the connector and its output operations are executed
This method can be implemented by connectors to close connections here.
|
Map<String,Object> |
execute()
Execute the connector.
|
void |
setInputParameters(Map<String,Object> parameters)
Set the input parameter for a connector.
|
void |
validate()
Validate the input parameters.
|
void setInputParameters(Map<String,Object> parameters)
parameters - parameters is a map with parameter names and their value.void validate()
throws SConnectorValidationException
SConnectorValidationExceptionMap<String,Object> execute() throws SConnectorException
SConnectorExceptionvoid connect()
throws SConnectorException
SConnectorExceptionvoid disconnect()
throws SConnectorException
SConnectorExceptionCopyright © 2019 Bonitasoft S.A.. All rights reserved.