public abstract class BaseJitterbitConnector extends Object implements JitterbitConnector
A connector should extend this class as it provides the base implementation.
JitterbitConnector.ConnectorContext, JitterbitConnector.Factory, JitterbitConnector.TestQueryContext<T>, JitterbitConnector.TestQueryResultCONNECTOR_CONTEXT, EXECUTION_CONTEXT| Constructor and Description |
|---|
BaseJitterbitConnector() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getCombinedParams(Map<String,String> params)
Convenience method to combine the protected parameters and non-protected parameters / properties.
|
Map<? extends String,? extends String> |
getProtectedParams()
This returns connector parameters that shouldn't be accessible or modifiable by user who is using
the connector.
|
List<ProviderLibrary> |
getProviders()
Returns an empty list of provider library objects.
|
void |
onInit()
Upon successful connector initialization, logs a message announcing the initialization with
the connector name.
|
void |
setProtectedParams(Map<? extends String,? extends String> params)
Set protected paramaters that shouldn't be modifiable or accessible by user who is using the
connector.
|
void |
testConnection(Map<String,String> props)
Uses the specified properties to test a connection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionFactory, getObjectMetadata, testQuerypublic void testConnection(Map<String,String> props) throws Connection.ConnectionException
testConnection in interface JitterbitConnectorprops - a map with the properties required to test the connectionConnection.ConnectionException - if an error happens during the testpublic List<ProviderLibrary> getProviders()
getProviders in interface JitterbitConnectorpublic void onInit()
onInit in interface JitterbitConnectorpublic Map<? extends String,? extends String> getProtectedParams()
JitterbitConnectorgetProtectedParams in interface JitterbitConnectorpublic void setProtectedParams(Map<? extends String,? extends String> params)
JitterbitConnectorsetProtectedParams in interface JitterbitConnectorpublic Map<String,String> getCombinedParams(Map<String,String> params)
JitterbitConnectorgetCombinedParams in interface JitterbitConnectorCopyright © Jitterbit, Inc. Licensed under the Jitterbit Master Subscription Agreement.