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
SConnectorValidationException
Map<String,Object> execute() throws SConnectorException
SConnectorException
void connect() throws SConnectorException
SConnectorException
void disconnect() throws SConnectorException
SConnectorException
Copyright © 2018 Bonitasoft S.A.. All rights reserved.