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

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

commit 581e115a1c5284747f19bf4c150c5291a0a16836
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Oct 4 11:40:30 2021 +0200

    CAMEL-17037: Polished
---
 .../apache/camel/component/file/remote/sftp.json   |  2 +-
 .../endpoint/dsl/SftpEndpointBuilderFactory.java   | 30 +++++++++++-----------
 2 files changed, 16 insertions(+), 16 deletions(-)

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 97af5d0..842ce82 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
@@ -68,12 +68,12 @@
     "tempPrefix": { "kind": "parameter", "displayName": "Temp Prefix", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "This option is used to write the file using a 
temporary name and then, after the write is complete, rename it to the real 
name. Can be used to identify files being written and also avoid consumers (not 
using exclusive read locks) readin [...]
     "allowNullBody": { "kind": "parameter", "displayName": "Allow Null Body", 
"group": "producer (advanced)", "label": "producer,advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Used to specify if a null body is allowed during file writing. If set to true 
then an empty file will be created, when set to false, and attempting to send a 
null body to the file component, a G [...]
     "chmod": { "kind": "parameter", "displayName": "Chmod", "group": "producer 
(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 
on the stored file. For example chmod=640." },
+    "chmodDirectory": { "kind": "parameter", "displayName": "Chmod Directory", 
"group": "producer (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." },
     "disconnectOnBatchComplete": { "kind": "parameter", "displayName": 
"Disconnect On Batch Complete", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether or not to disconnect from remote 
FTP server right after a Batch upload is complete. disconnectOnBatchComplete 
will only disconnect the current connection to the  [...]
     "eagerDeleteTargetFile": { "kind": "parameter", "displayName": "Eager 
Delete Target File", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether or not to eagerly delete any 
existing target file. This option only applies when you use fileExists=Override 
and the tempFileName option as well. You can use this to disa [...]
     "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 828a18c..88dad35 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
@@ -4704,6 +4704,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: producer (advanced)
+         * 
+         * @param chmodDirectory the value to set
+         * @return the dsl builder
+         */
+        default AdvancedSftpEndpointProducerBuilder chmodDirectory(
+                String chmodDirectory) {
+            doSetProperty("chmodDirectory", chmodDirectory);
+            return this;
+        }
+        /**
          * Whether or not to disconnect from remote FTP server right after a
          * Batch upload is complete. disconnectOnBatchComplete will only
          * disconnect the current connection to the FTP server.
@@ -4918,21 +4933,6 @@ 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