public interface Connector
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 |
validateInputParameters()
Validate the input parameters.
|
void setInputParameters(Map<String,Object> parameters)
parameters
- parameters is a map with parameter names and their value.void validateInputParameters() throws ConnectorValidationException
ConnectorValidationException
Map<String,Object> execute() throws ConnectorException
ConnectorException
void connect() throws ConnectorException
ConnectorException
void disconnect() throws ConnectorException
ConnectorException
Copyright © 2014 Bonitasoft S.A.. All rights reserved.