public class GoogleCalendarComponent extends org.apache.camel.util.component.AbstractApiComponent<GoogleCalendarApiName,GoogleCalendarConfiguration,GoogleCalendarApiCollection>
GoogleCalendarEndpoint
.Constructor and Description |
---|
GoogleCalendarComponent() |
GoogleCalendarComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String methodName,
GoogleCalendarApiName apiName,
GoogleCalendarConfiguration endpointConfiguration) |
protected GoogleCalendarApiName |
getApiName(String apiNameStr) |
com.google.api.services.calendar.Calendar |
getClient(GoogleCalendarConfiguration config) |
GoogleCalendarClientFactory |
getClientFactory() |
GoogleCalendarConfiguration |
getConfiguration() |
void |
setClientFactory(GoogleCalendarClientFactory clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client.
|
void |
setConfiguration(GoogleCalendarConfiguration 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 GoogleCalendarComponent()
public GoogleCalendarComponent(org.apache.camel.CamelContext context)
protected GoogleCalendarApiName getApiName(String apiNameStr) throws IllegalArgumentException
getApiName
in class org.apache.camel.util.component.AbstractApiComponent<GoogleCalendarApiName,GoogleCalendarConfiguration,GoogleCalendarApiCollection>
IllegalArgumentException
public com.google.api.services.calendar.Calendar getClient(GoogleCalendarConfiguration config)
public GoogleCalendarClientFactory getClientFactory()
public GoogleCalendarConfiguration getConfiguration()
getConfiguration
in class org.apache.camel.util.component.AbstractApiComponent<GoogleCalendarApiName,GoogleCalendarConfiguration,GoogleCalendarApiCollection>
public void setConfiguration(GoogleCalendarConfiguration configuration)
setConfiguration
in class org.apache.camel.util.component.AbstractApiComponent<GoogleCalendarApiName,GoogleCalendarConfiguration,GoogleCalendarApiCollection>
public void setClientFactory(GoogleCalendarClientFactory clientFactory)
BatchGoogleCalendarClientFactory
protected org.apache.camel.Endpoint createEndpoint(String uri, String methodName, GoogleCalendarApiName apiName, GoogleCalendarConfiguration endpointConfiguration)
createEndpoint
in class org.apache.camel.util.component.AbstractApiComponent<GoogleCalendarApiName,GoogleCalendarConfiguration,GoogleCalendarApiCollection>
Apache Camel