@Component(value="google-drive") public class GoogleDriveComponent extends org.apache.camel.support.component.AbstractApiComponent<GoogleDriveApiName,GoogleDriveConfiguration,GoogleDriveApiCollection>
GoogleDriveEndpoint.| Constructor and Description |
|---|
GoogleDriveComponent() |
GoogleDriveComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String methodName,
GoogleDriveApiName apiName,
GoogleDriveConfiguration endpointConfiguration) |
protected GoogleDriveApiName |
getApiName(String apiNameStr) |
com.google.api.services.drive.Drive |
getClient(GoogleDriveConfiguration googleDriveConfiguration) |
GoogleDriveClientFactory |
getClientFactory() |
GoogleDriveConfiguration |
getConfiguration() |
void |
setClientFactory(GoogleDriveClientFactory clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client.
|
void |
setConfiguration(GoogleDriveConfiguration configuration)
To use the shared configuration
|
createEndpoint, createEndpointConfigurationafterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GoogleDriveComponent()
public GoogleDriveComponent(org.apache.camel.CamelContext context)
protected GoogleDriveApiName getApiName(String apiNameStr) throws IllegalArgumentException
getApiName in class org.apache.camel.support.component.AbstractApiComponent<GoogleDriveApiName,GoogleDriveConfiguration,GoogleDriveApiCollection>IllegalArgumentExceptionpublic com.google.api.services.drive.Drive getClient(GoogleDriveConfiguration googleDriveConfiguration)
public GoogleDriveClientFactory getClientFactory()
public void setConfiguration(GoogleDriveConfiguration configuration)
setConfiguration in class org.apache.camel.support.component.AbstractApiComponent<GoogleDriveApiName,GoogleDriveConfiguration,GoogleDriveApiCollection>public GoogleDriveConfiguration getConfiguration()
getConfiguration in class org.apache.camel.support.component.AbstractApiComponent<GoogleDriveApiName,GoogleDriveConfiguration,GoogleDriveApiCollection>public void setClientFactory(GoogleDriveClientFactory clientFactory)
BatchGoogleDriveClientFactoryprotected org.apache.camel.Endpoint createEndpoint(String uri, String methodName, GoogleDriveApiName apiName, GoogleDriveConfiguration endpointConfiguration)
createEndpoint in class org.apache.camel.support.component.AbstractApiComponent<GoogleDriveApiName,GoogleDriveConfiguration,GoogleDriveApiCollection>Apache Camel