You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dm...@apache.org on 2020/02/05 07:10:44 UTC

[camel] 02/02: CAMEL-14476: Update autogenerated WorkdayEndpointBuilderFactory for easy rebase

This is an automated email from the ASF dual-hosted git repository.

dmvolod pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a09c336ceafff279179a714738ad7d9d139599e9
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Tue Feb 4 22:09:10 2020 +0300

    CAMEL-14476: Update autogenerated WorkdayEndpointBuilderFactory for easy rebase
---
 .../dsl/WorkdayEndpointBuilderFactory.java         | 506 +++++++++++++++++++--
 1 file changed, 474 insertions(+), 32 deletions(-)

diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WorkdayEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WorkdayEndpointBuilderFactory.java
index ab87c73..99970f6 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WorkdayEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/WorkdayEndpointBuilderFactory.java
@@ -17,12 +17,14 @@
 package org.apache.camel.builder.endpoint.dsl;
 
 import javax.annotation.Generated;
+import org.apache.camel.ExchangePattern;
 import org.apache.camel.builder.EndpointConsumerBuilder;
 import org.apache.camel.builder.EndpointProducerBuilder;
 import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
+import org.apache.camel.spi.ExceptionHandler;
 
 /**
- * Represents a Workday endpoint.
+ * Represents a camel-workday endpoint.
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
@@ -31,11 +33,283 @@ public interface WorkdayEndpointBuilderFactory {
 
 
     /**
-     * Builder for endpoint for the Workday component.
+     * Builder for endpoint consumers for the Workday component.
      */
-    public interface WorkdayEndpointBuilder extends EndpointProducerBuilder {
-        default AdvancedWorkdayEndpointBuilder advanced() {
-            return (AdvancedWorkdayEndpointBuilder) this;
+    public interface WorkdayEndpointConsumerBuilder
+            extends
+                EndpointConsumerBuilder {
+        default AdvancedWorkdayEndpointConsumerBuilder advanced() {
+            return (AdvancedWorkdayEndpointConsumerBuilder) this;
+        }
+        /**
+         * Allows for bridging the consumer to the Camel routing Error Handler,
+         * which mean any exceptions occurred while the consumer is trying to
+         * pickup incoming messages, or the likes, will now be processed as a
+         * message and handled by the routing Error Handler. By default the
+         * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
+         * with exceptions, that will be logged at WARN or ERROR level and
+         * ignored.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: consumer
+         */
+        default WorkdayEndpointConsumerBuilder bridgeErrorHandler(
+                boolean bridgeErrorHandler) {
+            doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
+            return this;
+        }
+        /**
+         * Allows for bridging the consumer to the Camel routing Error Handler,
+         * which mean any exceptions occurred while the consumer is trying to
+         * pickup incoming messages, or the likes, will now be processed as a
+         * message and handled by the routing Error Handler. By default the
+         * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
+         * with exceptions, that will be logged at WARN or ERROR level and
+         * ignored.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: consumer
+         */
+        default WorkdayEndpointConsumerBuilder bridgeErrorHandler(
+                String bridgeErrorHandler) {
+            doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
+            return this;
+        }
+        /**
+         * Workday Report as a service output format.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: format
+         */
+        default WorkdayEndpointConsumerBuilder format(String format) {
+            doSetProperty("format", format);
+            return this;
+        }
+        /**
+         * Workday Host name.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: host
+         */
+        default WorkdayEndpointConsumerBuilder host(String host) {
+            doSetProperty("host", host);
+            return this;
+        }
+        /**
+         * Workday Client Id generated by API Client for Integrations.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointConsumerBuilder clientId(String clientId) {
+            doSetProperty("clientId", clientId);
+            return this;
+        }
+        /**
+         * Workday Client Secrect generated by API Client for Integrations.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointConsumerBuilder clientSecret(String clientSecret) {
+            doSetProperty("clientSecret", clientSecret);
+            return this;
+        }
+        /**
+         * Workday Token Refresh generated for Integration system user.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointConsumerBuilder tokenRefresh(String tokenRefresh) {
+            doSetProperty("tokenRefresh", tokenRefresh);
+            return this;
+        }
+        /**
+         * Workday Tenant name.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: tenant
+         */
+        default WorkdayEndpointConsumerBuilder tenant(String tenant) {
+            doSetProperty("tenant", tenant);
+            return this;
+        }
+    }
+
+    /**
+     * Advanced builder for endpoint consumers for the Workday component.
+     */
+    public interface AdvancedWorkdayEndpointConsumerBuilder
+            extends
+                EndpointConsumerBuilder {
+        default WorkdayEndpointConsumerBuilder basic() {
+            return (WorkdayEndpointConsumerBuilder) this;
+        }
+        /**
+         * To let the consumer use a custom ExceptionHandler. Notice if the
+         * option bridgeErrorHandler is enabled then this option is not in use.
+         * By default the consumer will deal with exceptions, that will be
+         * logged at WARN or ERROR level and ignored.
+         * 
+         * The option is a: <code>org.apache.camel.spi.ExceptionHandler</code>
+         * type.
+         * 
+         * Group: consumer (advanced)
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder exceptionHandler(
+                ExceptionHandler exceptionHandler) {
+            doSetProperty("exceptionHandler", exceptionHandler);
+            return this;
+        }
+        /**
+         * To let the consumer use a custom ExceptionHandler. Notice if the
+         * option bridgeErrorHandler is enabled then this option is not in use.
+         * By default the consumer will deal with exceptions, that will be
+         * logged at WARN or ERROR level and ignored.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.camel.spi.ExceptionHandler</code> type.
+         * 
+         * Group: consumer (advanced)
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder exceptionHandler(
+                String exceptionHandler) {
+            doSetProperty("exceptionHandler", exceptionHandler);
+            return this;
+        }
+        /**
+         * Sets the exchange pattern when the consumer creates an exchange.
+         * 
+         * The option is a: <code>org.apache.camel.ExchangePattern</code> type.
+         * 
+         * Group: consumer (advanced)
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder exchangePattern(
+                ExchangePattern exchangePattern) {
+            doSetProperty("exchangePattern", exchangePattern);
+            return this;
+        }
+        /**
+         * Sets the exchange pattern when the consumer creates an exchange.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.camel.ExchangePattern</code> type.
+         * 
+         * Group: consumer (advanced)
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder exchangePattern(
+                String exchangePattern) {
+            doSetProperty("exchangePattern", exchangePattern);
+            return this;
+        }
+        /**
+         * Whether the endpoint should use basic property binding (Camel 2.x) or
+         * the newer property binding with additional capabilities.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder basicPropertyBinding(
+                boolean basicPropertyBinding) {
+            doSetProperty("basicPropertyBinding", basicPropertyBinding);
+            return this;
+        }
+        /**
+         * Whether the endpoint should use basic property binding (Camel 2.x) or
+         * the newer property binding with additional capabilities.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder basicPropertyBinding(
+                String basicPropertyBinding) {
+            doSetProperty("basicPropertyBinding", basicPropertyBinding);
+            return this;
+        }
+        /**
+         * Pool connection manager for advanced configuration.
+         * 
+         * The option is a:
+         * <code>org.apache.http.impl.conn.PoolingHttpClientConnectionManager</code> type.
+         * 
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder httpConnectionManager(
+                Object httpConnectionManager) {
+            doSetProperty("httpConnectionManager", httpConnectionManager);
+            return this;
+        }
+        /**
+         * Pool connection manager for advanced configuration.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.http.impl.conn.PoolingHttpClientConnectionManager</code> type.
+         * 
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder httpConnectionManager(
+                String httpConnectionManager) {
+            doSetProperty("httpConnectionManager", httpConnectionManager);
+            return this;
+        }
+        /**
+         * Sets whether synchronous processing should be strictly used, or Camel
+         * is allowed to use asynchronous processing (if supported).
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder synchronous(
+                boolean synchronous) {
+            doSetProperty("synchronous", synchronous);
+            return this;
+        }
+        /**
+         * Sets whether synchronous processing should be strictly used, or Camel
+         * is allowed to use asynchronous processing (if supported).
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointConsumerBuilder synchronous(
+                String synchronous) {
+            doSetProperty("synchronous", synchronous);
+            return this;
+        }
+    }
+
+    /**
+     * Builder for endpoint producers for the Workday component.
+     */
+    public interface WorkdayEndpointProducerBuilder
+            extends
+                EndpointProducerBuilder {
+        default AdvancedWorkdayEndpointProducerBuilder advanced() {
+            return (AdvancedWorkdayEndpointProducerBuilder) this;
         }
         /**
          * Whether the producer should be started lazy (on the first message).
@@ -53,7 +327,7 @@ public interface WorkdayEndpointBuilderFactory {
          * Default: false
          * Group: producer
          */
-        default WorkdayEndpointBuilder lazyStartProducer(
+        default WorkdayEndpointProducerBuilder lazyStartProducer(
                 boolean lazyStartProducer) {
             doSetProperty("lazyStartProducer", lazyStartProducer);
             return this;
@@ -74,7 +348,7 @@ public interface WorkdayEndpointBuilderFactory {
          * Default: false
          * Group: producer
          */
-        default WorkdayEndpointBuilder lazyStartProducer(
+        default WorkdayEndpointProducerBuilder lazyStartProducer(
                 String lazyStartProducer) {
             doSetProperty("lazyStartProducer", lazyStartProducer);
             return this;
@@ -84,11 +358,186 @@ public interface WorkdayEndpointBuilderFactory {
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
-         * Default: json
          * Group: format
          */
-        default WorkdayEndpointBuilder reportFormat(String reportFormat) {
-            doSetProperty("reportFormat", reportFormat);
+        default WorkdayEndpointProducerBuilder format(String format) {
+            doSetProperty("format", format);
+            return this;
+        }
+        /**
+         * Workday Host name.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: host
+         */
+        default WorkdayEndpointProducerBuilder host(String host) {
+            doSetProperty("host", host);
+            return this;
+        }
+        /**
+         * Workday Client Id generated by API Client for Integrations.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointProducerBuilder clientId(String clientId) {
+            doSetProperty("clientId", clientId);
+            return this;
+        }
+        /**
+         * Workday Client Secrect generated by API Client for Integrations.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointProducerBuilder clientSecret(String clientSecret) {
+            doSetProperty("clientSecret", clientSecret);
+            return this;
+        }
+        /**
+         * Workday Token Refresh generated for Integration system user.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: security
+         */
+        default WorkdayEndpointProducerBuilder tokenRefresh(String tokenRefresh) {
+            doSetProperty("tokenRefresh", tokenRefresh);
+            return this;
+        }
+        /**
+         * Workday Tenant name.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Required: true
+         * Group: tenant
+         */
+        default WorkdayEndpointProducerBuilder tenant(String tenant) {
+            doSetProperty("tenant", tenant);
+            return this;
+        }
+    }
+
+    /**
+     * Advanced builder for endpoint producers for the Workday component.
+     */
+    public interface AdvancedWorkdayEndpointProducerBuilder
+            extends
+                EndpointProducerBuilder {
+        default WorkdayEndpointProducerBuilder basic() {
+            return (WorkdayEndpointProducerBuilder) this;
+        }
+        /**
+         * Whether the endpoint should use basic property binding (Camel 2.x) or
+         * the newer property binding with additional capabilities.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder basicPropertyBinding(
+                boolean basicPropertyBinding) {
+            doSetProperty("basicPropertyBinding", basicPropertyBinding);
+            return this;
+        }
+        /**
+         * Whether the endpoint should use basic property binding (Camel 2.x) or
+         * the newer property binding with additional capabilities.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder basicPropertyBinding(
+                String basicPropertyBinding) {
+            doSetProperty("basicPropertyBinding", basicPropertyBinding);
+            return this;
+        }
+        /**
+         * Pool connection manager for advanced configuration.
+         * 
+         * The option is a:
+         * <code>org.apache.http.impl.conn.PoolingHttpClientConnectionManager</code> type.
+         * 
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder httpConnectionManager(
+                Object httpConnectionManager) {
+            doSetProperty("httpConnectionManager", httpConnectionManager);
+            return this;
+        }
+        /**
+         * Pool connection manager for advanced configuration.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.http.impl.conn.PoolingHttpClientConnectionManager</code> type.
+         * 
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder httpConnectionManager(
+                String httpConnectionManager) {
+            doSetProperty("httpConnectionManager", httpConnectionManager);
+            return this;
+        }
+        /**
+         * Sets whether synchronous processing should be strictly used, or Camel
+         * is allowed to use asynchronous processing (if supported).
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder synchronous(
+                boolean synchronous) {
+            doSetProperty("synchronous", synchronous);
+            return this;
+        }
+        /**
+         * Sets whether synchronous processing should be strictly used, or Camel
+         * is allowed to use asynchronous processing (if supported).
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: advanced
+         */
+        default AdvancedWorkdayEndpointProducerBuilder synchronous(
+                String synchronous) {
+            doSetProperty("synchronous", synchronous);
+            return this;
+        }
+    }
+
+    /**
+     * Builder for endpoint for the Workday component.
+     */
+    public interface WorkdayEndpointBuilder
+            extends
+                WorkdayEndpointConsumerBuilder,
+                WorkdayEndpointProducerBuilder {
+        default AdvancedWorkdayEndpointBuilder advanced() {
+            return (AdvancedWorkdayEndpointBuilder) this;
+        }
+        /**
+         * Workday Report as a service output format.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: format
+         */
+        default WorkdayEndpointBuilder format(String format) {
+            doSetProperty("format", format);
             return this;
         }
         /**
@@ -104,7 +553,7 @@ public interface WorkdayEndpointBuilderFactory {
             return this;
         }
         /**
-         * Workday client Id generated by API client for integrations.
+         * Workday Client Id generated by API Client for Integrations.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -116,7 +565,7 @@ public interface WorkdayEndpointBuilderFactory {
             return this;
         }
         /**
-         * Workday client Secret generated by API client for integrations.
+         * Workday Client Secrect generated by API Client for Integrations.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -128,7 +577,7 @@ public interface WorkdayEndpointBuilderFactory {
             return this;
         }
         /**
-         * Workday token Refresh generated for integrations system user.
+         * Workday Token Refresh generated for Integration system user.
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
@@ -158,7 +607,8 @@ public interface WorkdayEndpointBuilderFactory {
      */
     public interface AdvancedWorkdayEndpointBuilder
             extends
-                EndpointProducerBuilder {
+                AdvancedWorkdayEndpointConsumerBuilder,
+                AdvancedWorkdayEndpointProducerBuilder {
         default WorkdayEndpointBuilder basic() {
             return (WorkdayEndpointBuilder) this;
         }
@@ -247,20 +697,16 @@ public interface WorkdayEndpointBuilderFactory {
     public interface WorkdayBuilders {
         /**
          * Workday (camel-workday)
-         * Represents a Workday endpoint.
+         * Represents a camel-workday endpoint.
          * 
          * Category: hcm
-         * Since: 3.1
+         * Since: 3.1.0-SNAPSHOT
          * Maven coordinates: org.apache.camel:camel-workday
          * 
-         * Syntax: <code>workday:entity:path</code>
+         * Syntax: <code>workday:uri</code>
          * 
-         * Path parameter: entity (required)
-         * The entity to be requested or subscribed via API.
-         * The value can be one of: report
-         * 
-         * Path parameter: path (required)
-         * The API path to access an entity structure.
+         * Path parameter: uri (required)
+         * The partial URL for RAAS report.
          */
         default WorkdayEndpointBuilder workday(String path) {
             return WorkdayEndpointBuilderFactory.workday(path);
@@ -268,20 +714,16 @@ public interface WorkdayEndpointBuilderFactory {
     }
     /**
      * Workday (camel-workday)
-     * Represents a Workday endpoint.
+     * Represents a camel-workday endpoint.
      * 
      * Category: hcm
-     * Since: 3.1
+     * Since: 3.1.0-SNAPSHOT
      * Maven coordinates: org.apache.camel:camel-workday
      * 
-     * Syntax: <code>workday:entity:path</code>
-     * 
-     * Path parameter: entity (required)
-     * The entity to be requested or subscribed via API.
-     * The value can be one of: report
+     * Syntax: <code>workday:uri</code>
      * 
-     * Path parameter: path (required)
-     * The API path to access an entity structure.
+     * Path parameter: uri (required)
+     * The partial URL for RAAS report.
      */
     static WorkdayEndpointBuilder workday(String path) {
         class WorkdayEndpointBuilderImpl extends AbstractEndpointBuilder implements WorkdayEndpointBuilder, AdvancedWorkdayEndpointBuilder {