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

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


The following commit(s) were added to refs/heads/main by this push:
     new d91af95  Regen for commit 6f6192bdc4c87a33c384cabc67053d21e70affc5
d91af95 is described below

commit d91af95741b2b0c4c440128805eb507dd1cd32e1
Author: oscerd <osc...@users.noreply.github.com>
AuthorDate: Mon Oct 4 06:18:56 2021 +0000

    Regen for commit 6f6192bdc4c87a33c384cabc67053d21e70affc5
    
    Signed-off-by: GitHub <nore...@github.com>
---
 .../org/apache/camel/catalog/components/sftp.json         |  1 +
 .../component/file/remote/SftpEndpointConfigurer.java     |  6 ++++++
 .../component/file/remote/SftpEndpointUriFactory.java     |  3 ++-
 .../org/apache/camel/component/file/remote/sftp.json      |  1 +
 .../builder/endpoint/dsl/SftpEndpointBuilderFactory.java  | 15 +++++++++++++++
 5 files changed, 25 insertions(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
index 0dc6da1..97af5d0 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
@@ -73,6 +73,7 @@
     "keepLastModified": { "kind": "parameter", "displayName": "Keep Last 
Modified", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Will keep the last modified timestamp from the source file (if 
any). Will use the Exchange.FILE_LAST_MODIFIED header to located the timestamp. 
This header can contain either a java.util.Da [...]
     "moveExistingFileStrategy": { "kind": "parameter", "displayName": "Move 
Existing File Strategy", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.component.file.strategy.FileMoveExistingStrategy", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Strategy (Custom Strategy) used to move file with special naming token to use 
when fileExist=Move is configured. By default, there is an  [...]
     "sendNoop": { "kind": "parameter", "displayName": "Send Noop", "group": 
"producer (advanced)", "label": "producer,advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Whether to send a noop 
command as a pre-write check before uploading files to the FTP [...]
+    "chmodDirectory": { "kind": "parameter", "displayName": "Chmod Directory", 
"group": " advanced", "label": "producer, advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Allows you to set chmod 
during path creation. For example chmod=640." },
     "autoCreate": { "kind": "parameter", "displayName": "Auto Create", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Automatically create missing 
directories in the file's pathname. For the file consumer, that means creating 
the starting directory. For the file producer, it means the directory the files 
should be written to." },
     "bindAddress": { "kind": "parameter", "displayName": "Bind Address", 
"group": "advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Specifies the address of 
the local interface against which the connection should bind." },
     "bulkRequests": { "kind": "parameter", "displayName": "Bulk Requests", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Specifies how many 
requests may be outstanding at any one time. Increasing this value may slightly 
improve fi [...]
diff --git 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointConfigurer.java
 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointConfigurer.java
index 3ba023c..334c95e 100644
--- 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointConfigurer.java
+++ 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointConfigurer.java
@@ -46,6 +46,8 @@ public class SftpEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "bulkRequests": 
target.getConfiguration().setBulkRequests(property(camelContext, 
java.lang.Integer.class, value)); return true;
         case "charset": target.setCharset(property(camelContext, 
java.lang.String.class, value)); return true;
         case "chmod": 
target.getConfiguration().setChmod(property(camelContext, 
java.lang.String.class, value)); return true;
+        case "chmoddirectory":
+        case "chmodDirectory": 
target.getConfiguration().setChmodDirectory(property(camelContext, 
java.lang.String.class, value)); return true;
         case "ciphers": 
target.getConfiguration().setCiphers(property(camelContext, 
java.lang.String.class, value)); return true;
         case "compression": 
target.getConfiguration().setCompression(property(camelContext, int.class, 
value)); return true;
         case "connecttimeout":
@@ -271,6 +273,8 @@ public class SftpEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "bulkRequests": return java.lang.Integer.class;
         case "charset": return java.lang.String.class;
         case "chmod": return java.lang.String.class;
+        case "chmoddirectory":
+        case "chmodDirectory": return java.lang.String.class;
         case "ciphers": return java.lang.String.class;
         case "compression": return int.class;
         case "connecttimeout":
@@ -497,6 +501,8 @@ public class SftpEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "bulkRequests": return 
target.getConfiguration().getBulkRequests();
         case "charset": return target.getCharset();
         case "chmod": return target.getConfiguration().getChmod();
+        case "chmoddirectory":
+        case "chmodDirectory": return 
target.getConfiguration().getChmodDirectory();
         case "ciphers": return target.getConfiguration().getCiphers();
         case "compression": return target.getConfiguration().getCompression();
         case "connecttimeout":
diff --git 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointUriFactory.java
 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointUriFactory.java
index 0362802..010ecfa 100644
--- 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointUriFactory.java
+++ 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpEndpointUriFactory.java
@@ -20,7 +20,7 @@ public class SftpEndpointUriFactory extends 
org.apache.camel.support.component.E
     private static final Set<String> PROPERTY_NAMES;
     private static final Set<String> SECRET_PROPERTY_NAMES;
     static {
-        Set<String> props = new HashSet<>(126);
+        Set<String> props = new HashSet<>(127);
         props.add("disconnect");
         props.add("moveExistingFileStrategy");
         props.add("fileName");
@@ -145,6 +145,7 @@ public class SftpEndpointUriFactory extends 
org.apache.camel.support.component.E
         props.add("tempFileName");
         props.add("ignoreFileNotFoundOrPermissionError");
         props.add("antFilterCaseSensitive");
+        props.add("chmodDirectory");
         props.add("filterDirectory");
         props.add("username");
         PROPERTY_NAMES = Collections.unmodifiableSet(props);
diff --git 
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
 
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
index 0dc6da1..97af5d0 100644
--- 
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
+++ 
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
@@ -73,6 +73,7 @@
     "keepLastModified": { "kind": "parameter", "displayName": "Keep Last 
Modified", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Will keep the last modified timestamp from the source file (if 
any). Will use the Exchange.FILE_LAST_MODIFIED header to located the timestamp. 
This header can contain either a java.util.Da [...]
     "moveExistingFileStrategy": { "kind": "parameter", "displayName": "Move 
Existing File Strategy", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.component.file.strategy.FileMoveExistingStrategy", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Strategy (Custom Strategy) used to move file with special naming token to use 
when fileExist=Move is configured. By default, there is an  [...]
     "sendNoop": { "kind": "parameter", "displayName": "Send Noop", "group": 
"producer (advanced)", "label": "producer,advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Whether to send a noop 
command as a pre-write check before uploading files to the FTP [...]
+    "chmodDirectory": { "kind": "parameter", "displayName": "Chmod Directory", 
"group": " advanced", "label": "producer, advanced", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Allows you to set chmod 
during path creation. For example chmod=640." },
     "autoCreate": { "kind": "parameter", "displayName": "Auto Create", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "Automatically create missing 
directories in the file's pathname. For the file consumer, that means creating 
the starting directory. For the file producer, it means the directory the files 
should be written to." },
     "bindAddress": { "kind": "parameter", "displayName": "Bind Address", 
"group": "advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Specifies the address of 
the local interface against which the connection should bind." },
     "bulkRequests": { "kind": "parameter", "displayName": "Bulk Requests", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.file.remote.SftpConfiguration", 
"configurationField": "configuration", "description": "Specifies how many 
requests may be outstanding at any one time. Increasing this value may slightly 
improve fi [...]
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
index 1589b0c..828a18c 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
@@ -4918,6 +4918,21 @@ public interface SftpEndpointBuilderFactory {
             return this;
         }
         /**
+         * Allows you to set chmod during path creation. For example chmod=640.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Group:  advanced
+         * 
+         * @param chmodDirectory the value to set
+         * @return the dsl builder
+         */
+        default AdvancedSftpEndpointProducerBuilder chmodDirectory(
+                String chmodDirectory) {
+            doSetProperty("chmodDirectory", chmodDirectory);
+            return this;
+        }
+        /**
          * Automatically create missing directories in the file's pathname. For
          * the file consumer, that means creating the starting directory. For
          * the file producer, it means the directory the files should be 
written

Reply via email to