@Metadata(label="verifiers", enums="parameters,connectivity") public class GoogleSheetsComponent extends org.apache.camel.util.component.AbstractApiComponent<GoogleSheetsApiName,GoogleSheetsConfiguration,GoogleSheetsApiCollection>
GoogleSheetsEndpoint
.Constructor and Description |
---|
GoogleSheetsComponent() |
GoogleSheetsComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String methodName,
GoogleSheetsApiName apiName,
GoogleSheetsConfiguration endpointConfiguration) |
protected GoogleSheetsApiName |
getApiName(String apiNameStr) |
com.google.api.services.sheets.v4.Sheets |
getClient(GoogleSheetsConfiguration config) |
GoogleSheetsClientFactory |
getClientFactory() |
GoogleSheetsConfiguration |
getConfiguration() |
void |
setClientFactory(GoogleSheetsClientFactory clientFactory)
To use the GoogleSheetsClientFactory as factory for creating the client.
|
void |
setConfiguration(GoogleSheetsConfiguration configuration)
To use the shared configuration
|
completeEndpointPath, createEndpoint, createEndpointConfiguration, getApiNameOrNull, getCompletedMethods
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public GoogleSheetsComponent()
public GoogleSheetsComponent(org.apache.camel.CamelContext context)
protected GoogleSheetsApiName getApiName(String apiNameStr) throws IllegalArgumentException
getApiName
in class org.apache.camel.util.component.AbstractApiComponent<GoogleSheetsApiName,GoogleSheetsConfiguration,GoogleSheetsApiCollection>
IllegalArgumentException
public com.google.api.services.sheets.v4.Sheets getClient(GoogleSheetsConfiguration config)
public GoogleSheetsClientFactory getClientFactory()
public void setConfiguration(GoogleSheetsConfiguration configuration)
setConfiguration
in class org.apache.camel.util.component.AbstractApiComponent<GoogleSheetsApiName,GoogleSheetsConfiguration,GoogleSheetsApiCollection>
public GoogleSheetsConfiguration getConfiguration()
getConfiguration
in class org.apache.camel.util.component.AbstractApiComponent<GoogleSheetsApiName,GoogleSheetsConfiguration,GoogleSheetsApiCollection>
public void setClientFactory(GoogleSheetsClientFactory clientFactory)
BatchGoogleSheetsClientFactory
protected org.apache.camel.Endpoint createEndpoint(String uri, String methodName, GoogleSheetsApiName apiName, GoogleSheetsConfiguration endpointConfiguration)
createEndpoint
in class org.apache.camel.util.component.AbstractApiComponent<GoogleSheetsApiName,GoogleSheetsConfiguration,GoogleSheetsApiCollection>
Apache Camel