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.
|
java.util.Map<java.lang.String,java.lang.Object> |
execute()
Execute the connector.
|
void |
setInputParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Set the input parameter for a connector.
|
void |
validate()
Validate the input parameters.
|
void setInputParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
parameters
- parameters is a map with parameter names and their value.void validate() throws SConnectorValidationException
SConnectorValidationException
java.util.Map<java.lang.String,java.lang.Object> execute() throws SConnectorException
SConnectorException
void connect() throws SConnectorException
SConnectorException
void disconnect() throws SConnectorException
SConnectorException