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

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


The following commit(s) were added to refs/heads/master by this push:
     new eaa5f70  Revert "Regen"
eaa5f70 is described below

commit eaa5f707fdbcc6298ab0078d78944225f20c37c4
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Mar 3 08:46:50 2020 +0100

    Revert "Regen"
    
    This reverts commit ab0fcd857478b4907a30145c6d422b8d1d7bdf9e.
---
 .../beanclass/ClassEndpointConfigurer.java         |  20 +--
 .../file/remote/FtpsEndpointConfigurer.java        | 200 +--------------------
 2 files changed, 5 insertions(+), 215 deletions(-)

diff --git 
a/components/camel-bean/src/generated/java/org/apache/camel/component/beanclass/ClassEndpointConfigurer.java
 
b/components/camel-bean/src/generated/java/org/apache/camel/component/beanclass/ClassEndpointConfigurer.java
index e551ffc..af84ecd 100644
--- 
a/components/camel-bean/src/generated/java/org/apache/camel/component/beanclass/ClassEndpointConfigurer.java
+++ 
b/components/camel-bean/src/generated/java/org/apache/camel/component/beanclass/ClassEndpointConfigurer.java
@@ -3,30 +3,14 @@ package org.apache.camel.component.beanclass;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.spi.GeneratedPropertyConfigurer;
-import org.apache.camel.support.component.PropertyConfigurerSupport;
+import org.apache.camel.component.bean.BeanEndpointConfigurer;
 
 /**
  * Generated by camel build tools - do NOT edit this file!
  */
 @SuppressWarnings("unchecked")
-public class ClassEndpointConfigurer extends PropertyConfigurerSupport 
implements GeneratedPropertyConfigurer {
+public class ClassEndpointConfigurer extends BeanEndpointConfigurer implements 
GeneratedPropertyConfigurer {
 
-    @Override
-    public boolean configure(CamelContext camelContext, Object obj, String 
name, Object value, boolean ignoreCase) {
-        ClassEndpoint target = (ClassEndpoint) obj;
-        switch (ignoreCase ? name.toLowerCase() : name) {
-        case "basicpropertybinding":
-        case "basicPropertyBinding": 
target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); 
return true;
-        case "cache": target.setCache(property(camelContext, 
java.lang.Boolean.class, value)); return true;
-        case "lazystartproducer":
-        case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
-        case "method": target.setMethod(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "parameters": target.setParameters(property(camelContext, 
java.util.Map.class, value)); return true;
-        case "scope": target.setScope(property(camelContext, 
org.apache.camel.BeanScope.class, value)); return true;
-        case "synchronous": target.setSynchronous(property(camelContext, 
boolean.class, value)); return true;
-        default: return false;
-        }
-    }
 
 }
 
diff --git 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java
 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java
index 649ef43..fbca860 100644
--- 
a/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java
+++ 
b/components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/FtpsEndpointConfigurer.java
@@ -3,228 +3,34 @@ package org.apache.camel.component.file.remote;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.spi.GeneratedPropertyConfigurer;
-import org.apache.camel.support.component.PropertyConfigurerSupport;
+import org.apache.camel.component.file.remote.FtpEndpointConfigurer;
 
 /**
  * Generated by camel build tools - do NOT edit this file!
  */
 @SuppressWarnings("unchecked")
-public class FtpsEndpointConfigurer extends PropertyConfigurerSupport 
implements GeneratedPropertyConfigurer {
+public class FtpsEndpointConfigurer extends FtpEndpointConfigurer implements 
GeneratedPropertyConfigurer {
 
     @Override
     public boolean configure(CamelContext camelContext, Object obj, String 
name, Object value, boolean ignoreCase) {
         FtpsEndpoint target = (FtpsEndpoint) obj;
         switch (ignoreCase ? name.toLowerCase() : name) {
-        case "account": 
target.getConfiguration().setAccount(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "activeportrange":
-        case "activePortRange": 
target.getConfiguration().setActivePortRange(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "allownullbody":
-        case "allowNullBody": target.setAllowNullBody(property(camelContext, 
boolean.class, value)); return true;
-        case "antexclude":
-        case "antExclude": target.setAntExclude(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "antfiltercasesensitive":
-        case "antFilterCaseSensitive": 
target.setAntFilterCaseSensitive(property(camelContext, boolean.class, value)); 
return true;
-        case "antinclude":
-        case "antInclude": target.setAntInclude(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "autocreate":
-        case "autoCreate": target.setAutoCreate(property(camelContext, 
boolean.class, value)); return true;
-        case "backofferrorthreshold":
-        case "backoffErrorThreshold": 
target.setBackoffErrorThreshold(property(camelContext, int.class, value)); 
return true;
-        case "backoffidlethreshold":
-        case "backoffIdleThreshold": 
target.setBackoffIdleThreshold(property(camelContext, int.class, value)); 
return true;
-        case "backoffmultiplier":
-        case "backoffMultiplier": 
target.setBackoffMultiplier(property(camelContext, int.class, value)); return 
true;
-        case "basicpropertybinding":
-        case "basicPropertyBinding": 
target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); 
return true;
-        case "binary": 
target.getConfiguration().setBinary(property(camelContext, boolean.class, 
value)); return true;
-        case "bridgeerrorhandler":
-        case "bridgeErrorHandler": 
target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); 
return true;
-        case "buffersize":
-        case "bufferSize": target.setBufferSize(property(camelContext, 
int.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 "connecttimeout":
-        case "connectTimeout": 
target.getConfiguration().setConnectTimeout(property(camelContext, int.class, 
value)); return true;
-        case "delay": target.setDelay(property(camelContext, long.class, 
value)); return true;
-        case "delete": target.setDelete(property(camelContext, boolean.class, 
value)); return true;
         case "disablesecuredatachanneldefaults":
         case "disableSecureDataChannelDefaults": 
target.getConfiguration().setDisableSecureDataChannelDefaults(property(camelContext,
 boolean.class, value)); return true;
-        case "disconnect": target.setDisconnect(property(camelContext, 
boolean.class, value)); return true;
-        case "disconnectonbatchcomplete":
-        case "disconnectOnBatchComplete": 
target.setDisconnectOnBatchComplete(property(camelContext, boolean.class, 
value)); return true;
-        case "donefilename":
-        case "doneFileName": target.setDoneFileName(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "download": target.setDownload(property(camelContext, 
boolean.class, value)); return true;
-        case "eagerdeletetargetfile":
-        case "eagerDeleteTargetFile": 
target.setEagerDeleteTargetFile(property(camelContext, boolean.class, value)); 
return true;
-        case "eagermaxmessagesperpoll":
-        case "eagerMaxMessagesPerPoll": 
target.setEagerMaxMessagesPerPoll(property(camelContext, boolean.class, 
value)); return true;
-        case "exceptionhandler":
-        case "exceptionHandler": 
target.setExceptionHandler(property(camelContext, 
org.apache.camel.spi.ExceptionHandler.class, value)); return true;
-        case "exchangepattern":
-        case "exchangePattern": 
target.setExchangePattern(property(camelContext, 
org.apache.camel.ExchangePattern.class, value)); return true;
-        case "exclude": target.setExclude(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "exclusivereadlockstrategy":
-        case "exclusiveReadLockStrategy": 
target.setExclusiveReadLockStrategy(property(camelContext, 
org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy.class, 
value)); return true;
         case "execpbsz":
         case "execPbsz": 
target.getConfiguration().setExecPbsz(property(camelContext, 
java.lang.Long.class, value)); return true;
         case "execprot":
         case "execProt": 
target.getConfiguration().setExecProt(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "fastexistscheck":
-        case "fastExistsCheck": 
target.setFastExistsCheck(property(camelContext, boolean.class, value)); return 
true;
-        case "fileexist":
-        case "fileExist": target.setFileExist(property(camelContext, 
org.apache.camel.component.file.GenericFileExist.class, value)); return true;
-        case "filename":
-        case "fileName": target.setFileName(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "filter": target.setFilter(property(camelContext, 
org.apache.camel.component.file.GenericFileFilter.class, value)); return true;
-        case "filterdirectory":
-        case "filterDirectory": 
target.setFilterDirectory(property(camelContext, java.lang.String.class, 
value)); return true;
-        case "filterfile":
-        case "filterFile": target.setFilterFile(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "flatten": target.setFlatten(property(camelContext, 
boolean.class, value)); return true;
-        case "ftpclient":
-        case "ftpClient": target.setFtpClient(property(camelContext, 
org.apache.commons.net.ftp.FTPClient.class, value)); return true;
-        case "ftpclientconfig":
-        case "ftpClientConfig": 
target.setFtpClientConfig(property(camelContext, 
org.apache.commons.net.ftp.FTPClientConfig.class, value)); return true;
-        case "ftpclientconfigparameters":
-        case "ftpClientConfigParameters": 
target.setFtpClientConfigParameters(property(camelContext, java.util.Map.class, 
value)); return true;
         case "ftpclientkeystoreparameters":
         case "ftpClientKeyStoreParameters": 
target.setFtpClientKeyStoreParameters(property(camelContext, 
java.util.Map.class, value)); return true;
-        case "ftpclientparameters":
-        case "ftpClientParameters": 
target.setFtpClientParameters(property(camelContext, java.util.Map.class, 
value)); return true;
         case "ftpclienttruststoreparameters":
         case "ftpClientTrustStoreParameters": 
target.setFtpClientTrustStoreParameters(property(camelContext, 
java.util.Map.class, value)); return true;
-        case "greedy": target.setGreedy(property(camelContext, boolean.class, 
value)); return true;
-        case "handledirectoryparserabsoluteresult":
-        case "handleDirectoryParserAbsoluteResult": 
target.getConfiguration().setHandleDirectoryParserAbsoluteResult(property(camelContext,
 boolean.class, value)); return true;
-        case "idempotent": target.setIdempotent(property(camelContext, 
java.lang.Boolean.class, value)); return true;
-        case "idempotentkey":
-        case "idempotentKey": target.setIdempotentKey(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "idempotentrepository":
-        case "idempotentRepository": 
target.setIdempotentRepository(property(camelContext, 
org.apache.camel.spi.IdempotentRepository.class, value)); return true;
-        case "ignorefilenotfoundorpermissionerror":
-        case "ignoreFileNotFoundOrPermissionError": 
target.getConfiguration().setIgnoreFileNotFoundOrPermissionError(property(camelContext,
 boolean.class, value)); return true;
         case "implicit": 
target.getConfiguration().setImplicit(property(camelContext, boolean.class, 
value)); return true;
-        case "inprogressrepository":
-        case "inProgressRepository": 
target.setInProgressRepository(property(camelContext, 
org.apache.camel.spi.IdempotentRepository.class, value)); return true;
-        case "include": target.setInclude(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "initialdelay":
-        case "initialDelay": target.setInitialDelay(property(camelContext, 
long.class, value)); return true;
-        case "jailstartingdirectory":
-        case "jailStartingDirectory": 
target.setJailStartingDirectory(property(camelContext, boolean.class, value)); 
return true;
-        case "keeplastmodified":
-        case "keepLastModified": 
target.setKeepLastModified(property(camelContext, boolean.class, value)); 
return true;
-        case "lazystartproducer":
-        case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
-        case "localworkdirectory":
-        case "localWorkDirectory": 
target.setLocalWorkDirectory(property(camelContext, java.lang.String.class, 
value)); return true;
-        case "maxdepth":
-        case "maxDepth": target.setMaxDepth(property(camelContext, int.class, 
value)); return true;
-        case "maxmessagesperpoll":
-        case "maxMessagesPerPoll": 
target.setMaxMessagesPerPoll(property(camelContext, int.class, value)); return 
true;
-        case "maximumreconnectattempts":
-        case "maximumReconnectAttempts": 
target.setMaximumReconnectAttempts(property(camelContext, int.class, value)); 
return true;
-        case "mindepth":
-        case "minDepth": target.setMinDepth(property(camelContext, int.class, 
value)); return true;
-        case "move": target.setMove(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "moveexisting":
-        case "moveExisting": target.setMoveExisting(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "moveexistingfilestrategy":
-        case "moveExistingFileStrategy": 
target.setMoveExistingFileStrategy(property(camelContext, 
org.apache.camel.component.file.strategy.FileMoveExistingStrategy.class, 
value)); return true;
-        case "movefailed":
-        case "moveFailed": target.setMoveFailed(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "noop": target.setNoop(property(camelContext, boolean.class, 
value)); return true;
-        case "oncompletionexceptionhandler":
-        case "onCompletionExceptionHandler": 
target.setOnCompletionExceptionHandler(property(camelContext, 
org.apache.camel.spi.ExceptionHandler.class, value)); return true;
-        case "passivemode":
-        case "passiveMode": 
target.getConfiguration().setPassiveMode(property(camelContext, boolean.class, 
value)); return true;
-        case "password": 
target.getConfiguration().setPassword(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "pollstrategy":
-        case "pollStrategy": target.setPollStrategy(property(camelContext, 
org.apache.camel.spi.PollingConsumerPollStrategy.class, value)); return true;
-        case "premove":
-        case "preMove": target.setPreMove(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "presort":
-        case "preSort": target.setPreSort(property(camelContext, 
boolean.class, value)); return true;
-        case "processstrategy":
-        case "processStrategy": 
target.setProcessStrategy(property(camelContext, 
org.apache.camel.component.file.GenericFileProcessStrategy.class, value)); 
return true;
-        case "readlock":
-        case "readLock": target.setReadLock(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "readlockcheckinterval":
-        case "readLockCheckInterval": 
target.setReadLockCheckInterval(property(camelContext, long.class, value)); 
return true;
-        case "readlockdeleteorphanlockfiles":
-        case "readLockDeleteOrphanLockFiles": 
target.setReadLockDeleteOrphanLockFiles(property(camelContext, boolean.class, 
value)); return true;
-        case "readlocklogginglevel":
-        case "readLockLoggingLevel": 
target.setReadLockLoggingLevel(property(camelContext, 
org.apache.camel.LoggingLevel.class, value)); return true;
-        case "readlockmarkerfile":
-        case "readLockMarkerFile": 
target.setReadLockMarkerFile(property(camelContext, boolean.class, value)); 
return true;
-        case "readlockminage":
-        case "readLockMinAge": target.setReadLockMinAge(property(camelContext, 
long.class, value)); return true;
-        case "readlockminlength":
-        case "readLockMinLength": 
target.setReadLockMinLength(property(camelContext, long.class, value)); return 
true;
-        case "readlockremoveoncommit":
-        case "readLockRemoveOnCommit": 
target.setReadLockRemoveOnCommit(property(camelContext, boolean.class, value)); 
return true;
-        case "readlockremoveonrollback":
-        case "readLockRemoveOnRollback": 
target.setReadLockRemoveOnRollback(property(camelContext, boolean.class, 
value)); return true;
-        case "readlocktimeout":
-        case "readLockTimeout": 
target.setReadLockTimeout(property(camelContext, long.class, value)); return 
true;
-        case "reconnectdelay":
-        case "reconnectDelay": target.setReconnectDelay(property(camelContext, 
long.class, value)); return true;
-        case "recursive": target.setRecursive(property(camelContext, 
boolean.class, value)); return true;
-        case "repeatcount":
-        case "repeatCount": target.setRepeatCount(property(camelContext, 
long.class, value)); return true;
-        case "resumedownload":
-        case "resumeDownload": target.setResumeDownload(property(camelContext, 
boolean.class, value)); return true;
-        case "runlogginglevel":
-        case "runLoggingLevel": 
target.setRunLoggingLevel(property(camelContext, 
org.apache.camel.LoggingLevel.class, value)); return true;
-        case "scheduledexecutorservice":
-        case "scheduledExecutorService": 
target.setScheduledExecutorService(property(camelContext, 
java.util.concurrent.ScheduledExecutorService.class, value)); return true;
-        case "scheduler": target.setScheduler(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "schedulerproperties":
-        case "schedulerProperties": 
target.setSchedulerProperties(property(camelContext, java.util.Map.class, 
value)); return true;
         case "securityprotocol":
         case "securityProtocol": 
target.getConfiguration().setSecurityProtocol(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "sendemptymessagewhenidle":
-        case "sendEmptyMessageWhenIdle": 
target.setSendEmptyMessageWhenIdle(property(camelContext, boolean.class, 
value)); return true;
-        case "sendnoop":
-        case "sendNoop": 
target.getConfiguration().setSendNoop(property(camelContext, boolean.class, 
value)); return true;
-        case "separator": 
target.getConfiguration().setSeparator(property(camelContext, 
org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator.class,
 value)); return true;
-        case "shuffle": target.setShuffle(property(camelContext, 
boolean.class, value)); return true;
-        case "sitecommand":
-        case "siteCommand": 
target.getConfiguration().setSiteCommand(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "sotimeout":
-        case "soTimeout": 
target.getConfiguration().setSoTimeout(property(camelContext, int.class, 
value)); return true;
-        case "sortby":
-        case "sortBy": target.setSortBy(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "sorter": target.setSorter(property(camelContext, 
java.util.Comparator.class, value)); return true;
         case "sslcontextparameters":
         case "sslContextParameters": 
target.setSslContextParameters(property(camelContext, 
org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
-        case "startscheduler":
-        case "startScheduler": target.setStartScheduler(property(camelContext, 
boolean.class, value)); return true;
-        case "stepwise": 
target.getConfiguration().setStepwise(property(camelContext, boolean.class, 
value)); return true;
-        case "streamdownload":
-        case "streamDownload": 
target.getConfiguration().setStreamDownload(property(camelContext, 
boolean.class, value)); return true;
-        case "synchronous": target.setSynchronous(property(camelContext, 
boolean.class, value)); return true;
-        case "tempfilename":
-        case "tempFileName": target.setTempFileName(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "tempprefix":
-        case "tempPrefix": target.setTempPrefix(property(camelContext, 
java.lang.String.class, value)); return true;
-        case "throwexceptiononconnectfailed":
-        case "throwExceptionOnConnectFailed": 
target.getConfiguration().setThrowExceptionOnConnectFailed(property(camelContext,
 boolean.class, value)); return true;
-        case "timeunit":
-        case "timeUnit": target.setTimeUnit(property(camelContext, 
java.util.concurrent.TimeUnit.class, value)); return true;
-        case "timeout": 
target.getConfiguration().setTimeout(property(camelContext, int.class, value)); 
return true;
-        case "transferloggingintervalseconds":
-        case "transferLoggingIntervalSeconds": 
target.setTransferLoggingIntervalSeconds(property(camelContext, int.class, 
value)); return true;
-        case "transferlogginglevel":
-        case "transferLoggingLevel": 
target.setTransferLoggingLevel(property(camelContext, 
org.apache.camel.LoggingLevel.class, value)); return true;
-        case "transferloggingverbose":
-        case "transferLoggingVerbose": 
target.setTransferLoggingVerbose(property(camelContext, boolean.class, value)); 
return true;
-        case "usefixeddelay":
-        case "useFixedDelay": target.setUseFixedDelay(property(camelContext, 
boolean.class, value)); return true;
-        case "uselist":
-        case "useList": 
target.getConfiguration().setUseList(property(camelContext, boolean.class, 
value)); return true;
-        case "username": 
target.getConfiguration().setUsername(property(camelContext, 
java.lang.String.class, value)); return true;
-        default: return false;
+        default: return super.configure(camelContext, obj, name, value, 
ignoreCase);
         }
     }
 

Reply via email to