This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit bee4c7a2c708d454e9b74ce6cb0bf5bbbbf76ad1 Author: Claus Ibsen <[email protected]> AuthorDate: Tue Nov 10 10:21:25 2020 +0100 Generated configurer special handling for camel-main so we can use them only during bootstrap. Removed need for ALL_OPTIONS in almost all configurers. --- .../component/as2/AS2ComponentConfigurer.java | 17 +++++- .../camel/component/as2/AS2EndpointConfigurer.java | 47 ++++++++++++++++- .../component/box/BoxComponentConfigurer.java | 32 +++++++++++- .../camel/component/box/BoxEndpointConfigurer.java | 36 ++++++++++++- .../braintree/BraintreeComponentConfigurer.java | 16 +++++- .../braintree/BraintreeEndpointConfigurer.java | 30 ++++++++++- .../component/fhir/FhirComponentConfigurer.java | 40 +++++++++++++- .../component/fhir/FhirEndpointConfigurer.java | 61 +++++++++++++++++++++- .../GoogleCalendarComponentConfigurer.java | 27 +++++++++- .../calendar/GoogleCalendarEndpointConfigurer.java | 47 ++++++++++++++++- .../drive/GoogleDriveComponentConfigurer.java | 24 ++++++++- .../drive/GoogleDriveEndpointConfigurer.java | 45 +++++++++++++++- .../google/mail/GoogleMailComponentConfigurer.java | 23 +++++++- .../google/mail/GoogleMailEndpointConfigurer.java | 43 ++++++++++++++- .../sheets/GoogleSheetsComponentConfigurer.java | 24 ++++++++- .../sheets/GoogleSheetsEndpointConfigurer.java | 44 +++++++++++++++- .../olingo2/Olingo2ComponentConfigurer.java | 31 ++++++++++- .../olingo2/Olingo2EndpointConfigurer.java | 51 +++++++++++++++++- .../olingo4/Olingo4ComponentConfigurer.java | 29 +++++++++- .../olingo4/Olingo4EndpointConfigurer.java | 49 ++++++++++++++++- .../twilio/TwilioComponentConfigurer.java | 21 +++++++- .../component/twilio/TwilioEndpointConfigurer.java | 38 +++++++++++++- .../zendesk/ZendeskComponentConfigurer.java | 23 +++++++- .../zendesk/ZendeskEndpointConfigurer.java | 42 ++++++++++++++- 24 files changed, 816 insertions(+), 24 deletions(-) diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2ComponentConfigurer.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2ComponentConfigurer.java index d0e90af..fcf1e4c 100644 --- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2ComponentConfigurer.java +++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2ComponentConfigurer.java @@ -15,7 +15,17 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class AS2ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class AS2ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("configuration", org.apache.camel.component.as2.AS2Configuration.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -33,6 +43,11 @@ public class AS2ComponentConfigurer extends PropertyConfigurerSupport implements } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "basicpropertybinding": diff --git a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2EndpointConfigurer.java b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2EndpointConfigurer.java index 9a9170a..8d71642 100644 --- a/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2EndpointConfigurer.java +++ b/components/camel-as2/camel-as2-component/src/generated/java/org/apache/camel/component/as2/AS2EndpointConfigurer.java @@ -15,7 +15,47 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class AS2EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class AS2EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.as2.internal.AS2ApiName.class); + map.put("methodName", java.lang.String.class); + map.put("as2From", java.lang.String.class); + map.put("as2MessageStructure", org.apache.camel.component.as2.api.AS2MessageStructure.class); + map.put("as2To", java.lang.String.class); + map.put("as2Version", java.lang.String.class); + map.put("clientFqdn", java.lang.String.class); + map.put("compressionAlgorithm", org.apache.camel.component.as2.api.AS2CompressionAlgorithm.class); + map.put("decryptingPrivateKey", java.security.PrivateKey.class); + map.put("dispositionNotificationTo", java.lang.String.class); + map.put("ediMessageTransferEncoding", java.lang.String.class); + map.put("ediMessageType", org.apache.http.entity.ContentType.class); + map.put("encryptingAlgorithm", org.apache.camel.component.as2.api.AS2EncryptionAlgorithm.class); + map.put("encryptingCertificateChain", java.security.cert.Certificate[].class); + map.put("from", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("mdnMessageTemplate", java.lang.String.class); + map.put("requestUri", java.lang.String.class); + map.put("server", java.lang.String.class); + map.put("serverFqdn", java.lang.String.class); + map.put("serverPortNumber", java.lang.Integer.class); + map.put("signedReceiptMicAlgorithms", java.lang.String[].class); + map.put("signingAlgorithm", org.apache.camel.component.as2.api.AS2SignatureAlgorithm.class); + map.put("signingCertificateChain", java.security.cert.Certificate[].class); + map.put("signingPrivateKey", java.security.PrivateKey.class); + map.put("subject", java.lang.String.class); + map.put("targetHostname", java.lang.String.class); + map.put("targetPortNumber", java.lang.Integer.class); + map.put("userAgent", java.lang.String.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -86,6 +126,11 @@ public class AS2EndpointConfigurer extends PropertyConfigurerSupport implements } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "as2from": diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxComponentConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxComponentConfigurer.java index 0029f7c..4eec77c 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxComponentConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxComponentConfigurer.java @@ -15,7 +15,32 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class BoxComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class BoxComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("clientId", java.lang.String.class); + map.put("configuration", org.apache.camel.component.box.BoxConfiguration.class); + map.put("enterpriseId", java.lang.String.class); + map.put("userId", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpParams", java.util.Map.class); + map.put("authenticationType", java.lang.String.class); + map.put("accessTokenCache", com.box.sdk.IAccessTokenCache.class); + map.put("clientSecret", java.lang.String.class); + map.put("encryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + map.put("maxCacheEntries", int.class); + map.put("privateKeyFile", java.lang.String.class); + map.put("privateKeyPassword", java.lang.String.class); + map.put("publicKeyId", java.lang.String.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + map.put("userName", java.lang.String.class); + map.put("userPassword", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.box.BoxConfiguration getOrCreateConfiguration(BoxComponent target) { if (target.getConfiguration() == null) { @@ -70,6 +95,11 @@ public class BoxComponentConfigurer extends PropertyConfigurerSupport implements } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstokencache": diff --git a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEndpointConfigurer.java b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEndpointConfigurer.java index 4f11940..1c0f91d 100644 --- a/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEndpointConfigurer.java +++ b/components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxEndpointConfigurer.java @@ -15,7 +15,36 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class BoxEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class BoxEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.box.internal.BoxApiName.class); + map.put("methodName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("enterpriseId", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("userId", java.lang.String.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpParams", java.util.Map.class); + map.put("synchronous", boolean.class); + map.put("authenticationType", java.lang.String.class); + map.put("accessTokenCache", com.box.sdk.IAccessTokenCache.class); + map.put("clientSecret", java.lang.String.class); + map.put("encryptionAlgorithm", com.box.sdk.EncryptionAlgorithm.class); + map.put("maxCacheEntries", int.class); + map.put("privateKeyFile", java.lang.String.class); + map.put("privateKeyPassword", java.lang.String.class); + map.put("publicKeyId", java.lang.String.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + map.put("userName", java.lang.String.class); + map.put("userPassword", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -67,6 +96,11 @@ public class BoxEndpointConfigurer extends PropertyConfigurerSupport implements } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstokencache": diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeComponentConfigurer.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeComponentConfigurer.java index f6c99ed5..d04c8b4 100644 --- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeComponentConfigurer.java +++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeComponentConfigurer.java @@ -15,7 +15,16 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class BraintreeComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class BraintreeComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("configuration", org.apache.camel.component.braintree.BraintreeConfiguration.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -31,6 +40,11 @@ public class BraintreeComponentConfigurer extends PropertyConfigurerSupport impl } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "basicpropertybinding": diff --git a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeEndpointConfigurer.java b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeEndpointConfigurer.java index 1f80911..8666d74 100644 --- a/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeEndpointConfigurer.java +++ b/components/camel-braintree/src/generated/java/org/apache/camel/component/braintree/BraintreeEndpointConfigurer.java @@ -15,7 +15,30 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class BraintreeEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class BraintreeEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.braintree.internal.BraintreeApiName.class); + map.put("methodName", java.lang.String.class); + map.put("environment", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("lazyStartProducer", boolean.class); + map.put("merchantId", java.lang.String.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpReadTimeout", java.lang.Integer.class); + map.put("synchronous", boolean.class); + map.put("httpLogLevel", java.lang.String.class); + map.put("httpLogName", java.lang.String.class); + map.put("logHandlerEnabled", boolean.class); + map.put("proxyHost", java.lang.String.class); + map.put("proxyPort", java.lang.Integer.class); + map.put("accessToken", java.lang.String.class); + map.put("privateKey", java.lang.String.class); + map.put("publicKey", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -54,6 +77,11 @@ public class BraintreeEndpointConfigurer extends PropertyConfigurerSupport imple } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java index ebcf6bc..7af1f8c 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirComponentConfigurer.java @@ -15,7 +15,40 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class FhirComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class FhirComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("encoding", java.lang.String.class); + map.put("fhirVersion", java.lang.String.class); + map.put("log", boolean.class); + map.put("prettyPrint", boolean.class); + map.put("serverUrl", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("client", ca.uhn.fhir.rest.client.api.IGenericClient.class); + map.put("clientFactory", ca.uhn.fhir.rest.client.api.IRestfulClientFactory.class); + map.put("compress", boolean.class); + map.put("configuration", org.apache.camel.component.fhir.FhirConfiguration.class); + map.put("connectionTimeout", java.lang.Integer.class); + map.put("deferModelScanning", boolean.class); + map.put("fhirContext", ca.uhn.fhir.context.FhirContext.class); + map.put("forceConformanceCheck", boolean.class); + map.put("sessionCookie", java.lang.String.class); + map.put("socketTimeout", java.lang.Integer.class); + map.put("summary", java.lang.String.class); + map.put("validationMode", java.lang.String.class); + map.put("proxyHost", java.lang.String.class); + map.put("proxyPassword", java.lang.String.class); + map.put("proxyPort", java.lang.Integer.class); + map.put("proxyUser", java.lang.String.class); + map.put("accessToken", java.lang.String.class); + map.put("password", java.lang.String.class); + map.put("username", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.fhir.FhirConfiguration getOrCreateConfiguration(FhirComponent target) { if (target.getConfiguration() == null) { @@ -79,6 +112,11 @@ public class FhirComponentConfigurer extends PropertyConfigurerSupport implement } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java index 425eefd..8b1e26e 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirEndpointConfigurer.java @@ -15,7 +15,61 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class FhirEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class FhirEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.fhir.internal.FhirApiName.class); + map.put("methodName", java.lang.String.class); + map.put("encoding", java.lang.String.class); + map.put("fhirVersion", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("log", boolean.class); + map.put("prettyPrint", boolean.class); + map.put("serverUrl", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("client", ca.uhn.fhir.rest.client.api.IGenericClient.class); + map.put("clientFactory", ca.uhn.fhir.rest.client.api.IRestfulClientFactory.class); + map.put("compress", boolean.class); + map.put("connectionTimeout", java.lang.Integer.class); + map.put("deferModelScanning", boolean.class); + map.put("fhirContext", ca.uhn.fhir.context.FhirContext.class); + map.put("forceConformanceCheck", boolean.class); + map.put("sessionCookie", java.lang.String.class); + map.put("socketTimeout", java.lang.Integer.class); + map.put("summary", java.lang.String.class); + map.put("synchronous", boolean.class); + map.put("validationMode", java.lang.String.class); + map.put("proxyHost", java.lang.String.class); + map.put("proxyPassword", java.lang.String.class); + map.put("proxyPort", java.lang.Integer.class); + map.put("proxyUser", java.lang.String.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("accessToken", java.lang.String.class); + map.put("password", java.lang.String.class); + map.put("username", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -107,6 +161,11 @@ public class FhirEndpointConfigurer extends PropertyConfigurerSupport implements } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java index a68007f..8547b1b 100644 --- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java +++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java @@ -15,7 +15,27 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleCalendarComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleCalendarComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("configuration", org.apache.camel.component.google.calendar.GoogleCalendarConfiguration.class); + map.put("emailAddress", java.lang.String.class); + map.put("p12FileName", java.lang.String.class); + map.put("scopes", java.lang.String.class); + map.put("user", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("clientFactory", org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.google.calendar.GoogleCalendarConfiguration getOrCreateConfiguration(GoogleCalendarComponent target) { if (target.getConfiguration() == null) { @@ -58,6 +78,11 @@ public class GoogleCalendarComponentConfigurer extends PropertyConfigurerSupport } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java index 1f2c937..7ad6e69 100644 --- a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java +++ b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java @@ -15,7 +15,47 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleCalendarEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleCalendarEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.google.calendar.internal.GoogleCalendarApiName.class); + map.put("methodName", java.lang.String.class); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("emailAddress", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("p12FileName", java.lang.String.class); + map.put("scopes", java.lang.String.class); + map.put("user", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -84,6 +124,11 @@ public class GoogleCalendarEndpointConfigurer extends PropertyConfigurerSupport } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveComponentConfigurer.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveComponentConfigurer.java index d774048..8b1d958 100644 --- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveComponentConfigurer.java +++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveComponentConfigurer.java @@ -15,7 +15,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleDriveComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleDriveComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("configuration", org.apache.camel.component.google.drive.GoogleDriveConfiguration.class); + map.put("scopes", java.util.List.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("clientFactory", org.apache.camel.component.google.drive.GoogleDriveClientFactory.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.google.drive.GoogleDriveConfiguration getOrCreateConfiguration(GoogleDriveComponent target) { if (target.getConfiguration() == null) { @@ -53,6 +70,11 @@ public class GoogleDriveComponentConfigurer extends PropertyConfigurerSupport im } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveEndpointConfigurer.java b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveEndpointConfigurer.java index 00d6b77..b48b67f 100644 --- a/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveEndpointConfigurer.java +++ b/components/camel-google-drive/src/generated/java/org/apache/camel/component/google/drive/GoogleDriveEndpointConfigurer.java @@ -15,7 +15,45 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleDriveEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleDriveEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.google.drive.internal.GoogleDriveApiName.class); + map.put("methodName", java.lang.String.class); + map.put("applicationName", java.lang.String.class); + map.put("clientFactory", org.apache.camel.component.google.drive.GoogleDriveClientFactory.class); + map.put("clientId", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("scopes", java.util.List.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -81,6 +119,11 @@ public class GoogleDriveEndpointConfigurer extends PropertyConfigurerSupport imp } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java index 925577d..6e0180f 100644 --- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java +++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailComponentConfigurer.java @@ -15,7 +15,23 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleMailComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleMailComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("configuration", org.apache.camel.component.google.mail.GoogleMailConfiguration.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("clientFactory", org.apache.camel.component.google.mail.GoogleMailClientFactory.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.google.mail.GoogleMailConfiguration getOrCreateConfiguration(GoogleMailComponent target) { if (target.getConfiguration() == null) { @@ -52,6 +68,11 @@ public class GoogleMailComponentConfigurer extends PropertyConfigurerSupport imp } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java index 6d76101..b1cbc43 100644 --- a/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java +++ b/components/camel-google-mail/src/generated/java/org/apache/camel/component/google/mail/GoogleMailEndpointConfigurer.java @@ -15,7 +15,43 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleMailEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleMailEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.google.mail.internal.GoogleMailApiName.class); + map.put("methodName", java.lang.String.class); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -78,6 +114,11 @@ public class GoogleMailEndpointConfigurer extends PropertyConfigurerSupport impl } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java index 810e3d8..0276aa6 100644 --- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java +++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsComponentConfigurer.java @@ -15,7 +15,24 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleSheetsComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleSheetsComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("configuration", org.apache.camel.component.google.sheets.GoogleSheetsConfiguration.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("splitResult", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("clientFactory", org.apache.camel.component.google.sheets.GoogleSheetsClientFactory.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.google.sheets.GoogleSheetsConfiguration getOrCreateConfiguration(GoogleSheetsComponent target) { if (target.getConfiguration() == null) { @@ -54,6 +71,11 @@ public class GoogleSheetsComponentConfigurer extends PropertyConfigurerSupport i } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java index 5dfe028..96197bd 100644 --- a/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java +++ b/components/camel-google-sheets/src/generated/java/org/apache/camel/component/google/sheets/GoogleSheetsEndpointConfigurer.java @@ -15,7 +15,44 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class GoogleSheetsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class GoogleSheetsEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.google.sheets.internal.GoogleSheetsApiName.class); + map.put("methodName", java.lang.String.class); + map.put("applicationName", java.lang.String.class); + map.put("clientId", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("splitResult", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("accessToken", java.lang.String.class); + map.put("clientSecret", java.lang.String.class); + map.put("refreshToken", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -80,6 +117,11 @@ public class GoogleSheetsEndpointConfigurer extends PropertyConfigurerSupport im } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accesstoken": diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2ComponentConfigurer.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2ComponentConfigurer.java index d5e676d..731618e 100644 --- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2ComponentConfigurer.java +++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2ComponentConfigurer.java @@ -15,7 +15,31 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class Olingo2ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class Olingo2ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("configuration", org.apache.camel.component.olingo2.Olingo2Configuration.class); + map.put("connectTimeout", int.class); + map.put("contentType", java.lang.String.class); + map.put("entityProviderReadProperties", org.apache.olingo.odata2.api.ep.EntityProviderReadProperties.class); + map.put("entityProviderWriteProperties", org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties.class); + map.put("filterAlreadySeen", boolean.class); + map.put("httpHeaders", java.util.Map.class); + map.put("proxy", org.apache.http.HttpHost.class); + map.put("serviceUri", java.lang.String.class); + map.put("socketTimeout", int.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("splitResult", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpAsyncClientBuilder", org.apache.http.impl.nio.client.HttpAsyncClientBuilder.class); + map.put("httpClientBuilder", org.apache.http.impl.client.HttpClientBuilder.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + map.put("useGlobalSslContextParameters", boolean.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.olingo2.Olingo2Configuration getOrCreateConfiguration(Olingo2Component target) { if (target.getConfiguration() == null) { @@ -67,6 +91,11 @@ public class Olingo2ComponentConfigurer extends PropertyConfigurerSupport implem } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "basicpropertybinding": diff --git a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2EndpointConfigurer.java b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2EndpointConfigurer.java index 1a020c6..0c6cc83 100644 --- a/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2EndpointConfigurer.java +++ b/components/camel-olingo2/camel-olingo2-component/src/generated/java/org/apache/camel/component/olingo2/Olingo2EndpointConfigurer.java @@ -15,7 +15,51 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class Olingo2EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class Olingo2EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.olingo2.internal.Olingo2ApiName.class); + map.put("methodName", java.lang.String.class); + map.put("connectTimeout", int.class); + map.put("contentType", java.lang.String.class); + map.put("entityProviderReadProperties", org.apache.olingo.odata2.api.ep.EntityProviderReadProperties.class); + map.put("entityProviderWriteProperties", org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties.class); + map.put("filterAlreadySeen", boolean.class); + map.put("httpHeaders", java.util.Map.class); + map.put("inBody", java.lang.String.class); + map.put("proxy", org.apache.http.HttpHost.class); + map.put("serviceUri", java.lang.String.class); + map.put("socketTimeout", int.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("splitResult", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpAsyncClientBuilder", org.apache.http.impl.nio.client.HttpAsyncClientBuilder.class); + map.put("httpClientBuilder", org.apache.http.impl.client.HttpClientBuilder.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -93,6 +137,11 @@ public class Olingo2EndpointConfigurer extends PropertyConfigurerSupport impleme } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "backofferrorthreshold": diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4ComponentConfigurer.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4ComponentConfigurer.java index 70cec07..e5b374a 100644 --- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4ComponentConfigurer.java +++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4ComponentConfigurer.java @@ -15,7 +15,29 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class Olingo4ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class Olingo4ComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("configuration", org.apache.camel.component.olingo4.Olingo4Configuration.class); + map.put("connectTimeout", int.class); + map.put("contentType", java.lang.String.class); + map.put("filterAlreadySeen", boolean.class); + map.put("httpHeaders", java.util.Map.class); + map.put("proxy", org.apache.http.HttpHost.class); + map.put("serviceUri", java.lang.String.class); + map.put("socketTimeout", int.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("splitResult", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpAsyncClientBuilder", org.apache.http.impl.nio.client.HttpAsyncClientBuilder.class); + map.put("httpClientBuilder", org.apache.http.impl.client.HttpClientBuilder.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + map.put("useGlobalSslContextParameters", boolean.class); + ALL_OPTIONS = map; + } private org.apache.camel.component.olingo4.Olingo4Configuration getOrCreateConfiguration(Olingo4Component target) { if (target.getConfiguration() == null) { @@ -63,6 +85,11 @@ public class Olingo4ComponentConfigurer extends PropertyConfigurerSupport implem } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "basicpropertybinding": diff --git a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4EndpointConfigurer.java b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4EndpointConfigurer.java index 3e610d7..4ca8a5b 100644 --- a/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4EndpointConfigurer.java +++ b/components/camel-olingo4/camel-olingo4-component/src/generated/java/org/apache/camel/component/olingo4/Olingo4EndpointConfigurer.java @@ -15,7 +15,49 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class Olingo4EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class Olingo4EndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.olingo4.internal.Olingo4ApiName.class); + map.put("methodName", java.lang.String.class); + map.put("connectTimeout", int.class); + map.put("contentType", java.lang.String.class); + map.put("filterAlreadySeen", boolean.class); + map.put("httpHeaders", java.util.Map.class); + map.put("inBody", java.lang.String.class); + map.put("proxy", org.apache.http.HttpHost.class); + map.put("serviceUri", java.lang.String.class); + map.put("socketTimeout", int.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("splitResult", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("httpAsyncClientBuilder", org.apache.http.impl.nio.client.HttpAsyncClientBuilder.class); + map.put("httpClientBuilder", org.apache.http.impl.client.HttpClientBuilder.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("sslContextParameters", org.apache.camel.support.jsse.SSLContextParameters.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -89,6 +131,11 @@ public class Olingo4EndpointConfigurer extends PropertyConfigurerSupport impleme } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "backofferrorthreshold": diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioComponentConfigurer.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioComponentConfigurer.java index c02c5f3..d54c4fa 100644 --- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioComponentConfigurer.java +++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioComponentConfigurer.java @@ -15,7 +15,21 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class TwilioComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class TwilioComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("configuration", org.apache.camel.component.twilio.TwilioConfiguration.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("restClient", com.twilio.http.TwilioRestClient.class); + map.put("accountSid", java.lang.String.class); + map.put("password", java.lang.String.class); + map.put("username", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -39,6 +53,11 @@ public class TwilioComponentConfigurer extends PropertyConfigurerSupport impleme } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "accountsid": diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioEndpointConfigurer.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioEndpointConfigurer.java index d15e9bd..92da3ba 100644 --- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioEndpointConfigurer.java +++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/TwilioEndpointConfigurer.java @@ -15,7 +15,38 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class TwilioEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class TwilioEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("apiName", org.apache.camel.component.twilio.internal.TwilioApiName.class); + map.put("methodName", java.lang.String.class); + map.put("inBody", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -68,6 +99,11 @@ public class TwilioEndpointConfigurer extends PropertyConfigurerSupport implemen } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "backofferrorthreshold": diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskComponentConfigurer.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskComponentConfigurer.java index 3023f03..20ae363 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskComponentConfigurer.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskComponentConfigurer.java @@ -15,7 +15,23 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class ZendeskComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class ZendeskComponentConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("serverUrl", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("configuration", org.apache.camel.component.zendesk.ZendeskConfiguration.class); + map.put("zendesk", org.zendesk.client.v2.Zendesk.class); + map.put("oauthToken", java.lang.String.class); + map.put("password", java.lang.String.class); + map.put("token", java.lang.String.class); + map.put("username", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -41,6 +57,11 @@ public class ZendeskComponentConfigurer extends PropertyConfigurerSupport implem } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "basicpropertybinding": diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurer.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurer.java index a177431..c2f225a 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurer.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurer.java @@ -15,7 +15,42 @@ import org.apache.camel.support.component.PropertyConfigurerSupport; * Generated by camel build tools - do NOT edit this file! */ @SuppressWarnings("unchecked") -public class ZendeskEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter { +public class ZendeskEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, ExtendedPropertyConfigurerGetter { + + private static final Map<String, Object> ALL_OPTIONS; + static { + Map<String, Object> map = new CaseInsensitiveMap(); + map.put("methodName", org.apache.camel.component.zendesk.internal.ZendeskApiMethod.class); + map.put("inBody", java.lang.String.class); + map.put("serverUrl", java.lang.String.class); + map.put("bridgeErrorHandler", boolean.class); + map.put("sendEmptyMessageWhenIdle", boolean.class); + map.put("exceptionHandler", org.apache.camel.spi.ExceptionHandler.class); + map.put("exchangePattern", org.apache.camel.ExchangePattern.class); + map.put("pollStrategy", org.apache.camel.spi.PollingConsumerPollStrategy.class); + map.put("lazyStartProducer", boolean.class); + map.put("basicPropertyBinding", boolean.class); + map.put("synchronous", boolean.class); + map.put("backoffErrorThreshold", int.class); + map.put("backoffIdleThreshold", int.class); + map.put("backoffMultiplier", int.class); + map.put("delay", long.class); + map.put("greedy", boolean.class); + map.put("initialDelay", long.class); + map.put("repeatCount", long.class); + map.put("runLoggingLevel", org.apache.camel.LoggingLevel.class); + map.put("scheduledExecutorService", java.util.concurrent.ScheduledExecutorService.class); + map.put("scheduler", java.lang.Object.class); + map.put("schedulerProperties", java.util.Map.class); + map.put("startScheduler", boolean.class); + map.put("timeUnit", java.util.concurrent.TimeUnit.class); + map.put("useFixedDelay", boolean.class); + map.put("oauthToken", java.lang.String.class); + map.put("password", java.lang.String.class); + map.put("token", java.lang.String.class); + map.put("username", java.lang.String.class); + ALL_OPTIONS = map; + } @Override public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { @@ -75,6 +110,11 @@ public class ZendeskEndpointConfigurer extends PropertyConfigurerSupport impleme } @Override + public Map<String, Object> getAllOptions(Object target) { + return ALL_OPTIONS; + } + + @Override public Class<?> getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "backofferrorthreshold":
