Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.file.remote;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.ConfigurerStrategy;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.util.CaseInsensitiveMap;
import org.apache.camel.support.component.PropertyConfigurerSupport;
/**
* Generated by camel build tools - do NOT edit this file!
*/
@SuppressWarnings("unchecked")
public class FtpEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
@Override
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
FtpEndpoint target = (FtpEndpoint) 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 "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 "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 "excludeext":
case "excludeExt": target.setExcludeExt(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 "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 "ftpclientparameters":
case "ftpClientParameters": target.setFtpClientParameters(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 "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 "includeext":
case "includeExt": target.setIncludeExt(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, java.time.Duration.class, value).toMillis()); 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.Object.class, value)); return true;
case "schedulerproperties":
case "schedulerProperties": target.setSchedulerProperties(property(camelContext, java.util.Map.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 "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 "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;
}
}
@Override
public Class> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "account": return java.lang.String.class;
case "activeportrange":
case "activePortRange": return java.lang.String.class;
case "allownullbody":
case "allowNullBody": return boolean.class;
case "antexclude":
case "antExclude": return java.lang.String.class;
case "antfiltercasesensitive":
case "antFilterCaseSensitive": return boolean.class;
case "antinclude":
case "antInclude": return java.lang.String.class;
case "autocreate":
case "autoCreate": return boolean.class;
case "backofferrorthreshold":
case "backoffErrorThreshold": return int.class;
case "backoffidlethreshold":
case "backoffIdleThreshold": return int.class;
case "backoffmultiplier":
case "backoffMultiplier": return int.class;
case "binary": return boolean.class;
case "bridgeerrorhandler":
case "bridgeErrorHandler": return boolean.class;
case "buffersize":
case "bufferSize": return int.class;
case "charset": return java.lang.String.class;
case "chmod": return java.lang.String.class;
case "connecttimeout":
case "connectTimeout": return int.class;
case "delay": return long.class;
case "delete": return boolean.class;
case "disconnect": return boolean.class;
case "disconnectonbatchcomplete":
case "disconnectOnBatchComplete": return boolean.class;
case "donefilename":
case "doneFileName": return java.lang.String.class;
case "download": return boolean.class;
case "eagerdeletetargetfile":
case "eagerDeleteTargetFile": return boolean.class;
case "eagermaxmessagesperpoll":
case "eagerMaxMessagesPerPoll": return boolean.class;
case "exceptionhandler":
case "exceptionHandler": return org.apache.camel.spi.ExceptionHandler.class;
case "exchangepattern":
case "exchangePattern": return org.apache.camel.ExchangePattern.class;
case "exclude": return java.lang.String.class;
case "excludeext":
case "excludeExt": return java.lang.String.class;
case "exclusivereadlockstrategy":
case "exclusiveReadLockStrategy": return org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy.class;
case "fastexistscheck":
case "fastExistsCheck": return boolean.class;
case "fileexist":
case "fileExist": return org.apache.camel.component.file.GenericFileExist.class;
case "filename":
case "fileName": return java.lang.String.class;
case "filter": return org.apache.camel.component.file.GenericFileFilter.class;
case "filterdirectory":
case "filterDirectory": return java.lang.String.class;
case "filterfile":
case "filterFile": return java.lang.String.class;
case "flatten": return boolean.class;
case "ftpclient":
case "ftpClient": return org.apache.commons.net.ftp.FTPClient.class;
case "ftpclientconfig":
case "ftpClientConfig": return org.apache.commons.net.ftp.FTPClientConfig.class;
case "ftpclientconfigparameters":
case "ftpClientConfigParameters": return java.util.Map.class;
case "ftpclientparameters":
case "ftpClientParameters": return java.util.Map.class;
case "greedy": return boolean.class;
case "handledirectoryparserabsoluteresult":
case "handleDirectoryParserAbsoluteResult": return boolean.class;
case "idempotent": return java.lang.Boolean.class;
case "idempotentkey":
case "idempotentKey": return java.lang.String.class;
case "idempotentrepository":
case "idempotentRepository": return org.apache.camel.spi.IdempotentRepository.class;
case "ignorefilenotfoundorpermissionerror":
case "ignoreFileNotFoundOrPermissionError": return boolean.class;
case "inprogressrepository":
case "inProgressRepository": return org.apache.camel.spi.IdempotentRepository.class;
case "include": return java.lang.String.class;
case "includeext":
case "includeExt": return java.lang.String.class;
case "initialdelay":
case "initialDelay": return long.class;
case "jailstartingdirectory":
case "jailStartingDirectory": return boolean.class;
case "keeplastmodified":
case "keepLastModified": return boolean.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
case "localworkdirectory":
case "localWorkDirectory": return java.lang.String.class;
case "maxdepth":
case "maxDepth": return int.class;
case "maxmessagesperpoll":
case "maxMessagesPerPoll": return int.class;
case "maximumreconnectattempts":
case "maximumReconnectAttempts": return int.class;
case "mindepth":
case "minDepth": return int.class;
case "move": return java.lang.String.class;
case "moveexisting":
case "moveExisting": return java.lang.String.class;
case "moveexistingfilestrategy":
case "moveExistingFileStrategy": return org.apache.camel.component.file.strategy.FileMoveExistingStrategy.class;
case "movefailed":
case "moveFailed": return java.lang.String.class;
case "noop": return boolean.class;
case "oncompletionexceptionhandler":
case "onCompletionExceptionHandler": return org.apache.camel.spi.ExceptionHandler.class;
case "passivemode":
case "passiveMode": return boolean.class;
case "password": return java.lang.String.class;
case "pollstrategy":
case "pollStrategy": return org.apache.camel.spi.PollingConsumerPollStrategy.class;
case "premove":
case "preMove": return java.lang.String.class;
case "presort":
case "preSort": return boolean.class;
case "processstrategy":
case "processStrategy": return org.apache.camel.component.file.GenericFileProcessStrategy.class;
case "readlock":
case "readLock": return java.lang.String.class;
case "readlockcheckinterval":
case "readLockCheckInterval": return long.class;
case "readlockdeleteorphanlockfiles":
case "readLockDeleteOrphanLockFiles": return boolean.class;
case "readlocklogginglevel":
case "readLockLoggingLevel": return org.apache.camel.LoggingLevel.class;
case "readlockmarkerfile":
case "readLockMarkerFile": return boolean.class;
case "readlockminage":
case "readLockMinAge": return long.class;
case "readlockminlength":
case "readLockMinLength": return long.class;
case "readlockremoveoncommit":
case "readLockRemoveOnCommit": return boolean.class;
case "readlockremoveonrollback":
case "readLockRemoveOnRollback": return boolean.class;
case "readlocktimeout":
case "readLockTimeout": return long.class;
case "reconnectdelay":
case "reconnectDelay": return long.class;
case "recursive": return boolean.class;
case "repeatcount":
case "repeatCount": return long.class;
case "resumedownload":
case "resumeDownload": return boolean.class;
case "runlogginglevel":
case "runLoggingLevel": return org.apache.camel.LoggingLevel.class;
case "scheduledexecutorservice":
case "scheduledExecutorService": return java.util.concurrent.ScheduledExecutorService.class;
case "scheduler": return java.lang.Object.class;
case "schedulerproperties":
case "schedulerProperties": return java.util.Map.class;
case "sendemptymessagewhenidle":
case "sendEmptyMessageWhenIdle": return boolean.class;
case "sendnoop":
case "sendNoop": return boolean.class;
case "separator": return org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator.class;
case "shuffle": return boolean.class;
case "sitecommand":
case "siteCommand": return java.lang.String.class;
case "sotimeout":
case "soTimeout": return int.class;
case "sortby":
case "sortBy": return java.lang.String.class;
case "sorter": return java.util.Comparator.class;
case "startscheduler":
case "startScheduler": return boolean.class;
case "stepwise": return boolean.class;
case "streamdownload":
case "streamDownload": return boolean.class;
case "tempfilename":
case "tempFileName": return java.lang.String.class;
case "tempprefix":
case "tempPrefix": return java.lang.String.class;
case "throwexceptiononconnectfailed":
case "throwExceptionOnConnectFailed": return boolean.class;
case "timeunit":
case "timeUnit": return java.util.concurrent.TimeUnit.class;
case "timeout": return int.class;
case "transferloggingintervalseconds":
case "transferLoggingIntervalSeconds": return int.class;
case "transferlogginglevel":
case "transferLoggingLevel": return org.apache.camel.LoggingLevel.class;
case "transferloggingverbose":
case "transferLoggingVerbose": return boolean.class;
case "usefixeddelay":
case "useFixedDelay": return boolean.class;
case "uselist":
case "useList": return boolean.class;
case "username": return java.lang.String.class;
default: return null;
}
}
@Override
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
FtpEndpoint target = (FtpEndpoint) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "account": return target.getConfiguration().getAccount();
case "activeportrange":
case "activePortRange": return target.getConfiguration().getActivePortRange();
case "allownullbody":
case "allowNullBody": return target.isAllowNullBody();
case "antexclude":
case "antExclude": return target.getAntExclude();
case "antfiltercasesensitive":
case "antFilterCaseSensitive": return target.isAntFilterCaseSensitive();
case "antinclude":
case "antInclude": return target.getAntInclude();
case "autocreate":
case "autoCreate": return target.isAutoCreate();
case "backofferrorthreshold":
case "backoffErrorThreshold": return target.getBackoffErrorThreshold();
case "backoffidlethreshold":
case "backoffIdleThreshold": return target.getBackoffIdleThreshold();
case "backoffmultiplier":
case "backoffMultiplier": return target.getBackoffMultiplier();
case "binary": return target.getConfiguration().isBinary();
case "bridgeerrorhandler":
case "bridgeErrorHandler": return target.isBridgeErrorHandler();
case "buffersize":
case "bufferSize": return target.getBufferSize();
case "charset": return target.getCharset();
case "chmod": return target.getConfiguration().getChmod();
case "connecttimeout":
case "connectTimeout": return target.getConfiguration().getConnectTimeout();
case "delay": return target.getDelay();
case "delete": return target.isDelete();
case "disconnect": return target.isDisconnect();
case "disconnectonbatchcomplete":
case "disconnectOnBatchComplete": return target.isDisconnectOnBatchComplete();
case "donefilename":
case "doneFileName": return target.getDoneFileName();
case "download": return target.isDownload();
case "eagerdeletetargetfile":
case "eagerDeleteTargetFile": return target.isEagerDeleteTargetFile();
case "eagermaxmessagesperpoll":
case "eagerMaxMessagesPerPoll": return target.isEagerMaxMessagesPerPoll();
case "exceptionhandler":
case "exceptionHandler": return target.getExceptionHandler();
case "exchangepattern":
case "exchangePattern": return target.getExchangePattern();
case "exclude": return target.getExclude();
case "excludeext":
case "excludeExt": return target.getExcludeExt();
case "exclusivereadlockstrategy":
case "exclusiveReadLockStrategy": return target.getExclusiveReadLockStrategy();
case "fastexistscheck":
case "fastExistsCheck": return target.isFastExistsCheck();
case "fileexist":
case "fileExist": return target.getFileExist();
case "filename":
case "fileName": return target.getFileName();
case "filter": return target.getFilter();
case "filterdirectory":
case "filterDirectory": return target.getFilterDirectory();
case "filterfile":
case "filterFile": return target.getFilterFile();
case "flatten": return target.isFlatten();
case "ftpclient":
case "ftpClient": return target.getFtpClient();
case "ftpclientconfig":
case "ftpClientConfig": return target.getFtpClientConfig();
case "ftpclientconfigparameters":
case "ftpClientConfigParameters": return target.getFtpClientConfigParameters();
case "ftpclientparameters":
case "ftpClientParameters": return target.getFtpClientParameters();
case "greedy": return target.isGreedy();
case "handledirectoryparserabsoluteresult":
case "handleDirectoryParserAbsoluteResult": return target.getConfiguration().isHandleDirectoryParserAbsoluteResult();
case "idempotent": return target.getIdempotent();
case "idempotentkey":
case "idempotentKey": return target.getIdempotentKey();
case "idempotentrepository":
case "idempotentRepository": return target.getIdempotentRepository();
case "ignorefilenotfoundorpermissionerror":
case "ignoreFileNotFoundOrPermissionError": return target.getConfiguration().isIgnoreFileNotFoundOrPermissionError();
case "inprogressrepository":
case "inProgressRepository": return target.getInProgressRepository();
case "include": return target.getInclude();
case "includeext":
case "includeExt": return target.getIncludeExt();
case "initialdelay":
case "initialDelay": return target.getInitialDelay();
case "jailstartingdirectory":
case "jailStartingDirectory": return target.isJailStartingDirectory();
case "keeplastmodified":
case "keepLastModified": return target.isKeepLastModified();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
case "localworkdirectory":
case "localWorkDirectory": return target.getLocalWorkDirectory();
case "maxdepth":
case "maxDepth": return target.getMaxDepth();
case "maxmessagesperpoll":
case "maxMessagesPerPoll": return target.getMaxMessagesPerPoll();
case "maximumreconnectattempts":
case "maximumReconnectAttempts": return target.getMaximumReconnectAttempts();
case "mindepth":
case "minDepth": return target.getMinDepth();
case "move": return target.getMove();
case "moveexisting":
case "moveExisting": return target.getMoveExisting();
case "moveexistingfilestrategy":
case "moveExistingFileStrategy": return target.getMoveExistingFileStrategy();
case "movefailed":
case "moveFailed": return target.getMoveFailed();
case "noop": return target.isNoop();
case "oncompletionexceptionhandler":
case "onCompletionExceptionHandler": return target.getOnCompletionExceptionHandler();
case "passivemode":
case "passiveMode": return target.getConfiguration().isPassiveMode();
case "password": return target.getConfiguration().getPassword();
case "pollstrategy":
case "pollStrategy": return target.getPollStrategy();
case "premove":
case "preMove": return target.getPreMove();
case "presort":
case "preSort": return target.isPreSort();
case "processstrategy":
case "processStrategy": return target.getProcessStrategy();
case "readlock":
case "readLock": return target.getReadLock();
case "readlockcheckinterval":
case "readLockCheckInterval": return target.getReadLockCheckInterval();
case "readlockdeleteorphanlockfiles":
case "readLockDeleteOrphanLockFiles": return target.isReadLockDeleteOrphanLockFiles();
case "readlocklogginglevel":
case "readLockLoggingLevel": return target.getReadLockLoggingLevel();
case "readlockmarkerfile":
case "readLockMarkerFile": return target.isReadLockMarkerFile();
case "readlockminage":
case "readLockMinAge": return target.getReadLockMinAge();
case "readlockminlength":
case "readLockMinLength": return target.getReadLockMinLength();
case "readlockremoveoncommit":
case "readLockRemoveOnCommit": return target.isReadLockRemoveOnCommit();
case "readlockremoveonrollback":
case "readLockRemoveOnRollback": return target.isReadLockRemoveOnRollback();
case "readlocktimeout":
case "readLockTimeout": return target.getReadLockTimeout();
case "reconnectdelay":
case "reconnectDelay": return target.getReconnectDelay();
case "recursive": return target.isRecursive();
case "repeatcount":
case "repeatCount": return target.getRepeatCount();
case "resumedownload":
case "resumeDownload": return target.isResumeDownload();
case "runlogginglevel":
case "runLoggingLevel": return target.getRunLoggingLevel();
case "scheduledexecutorservice":
case "scheduledExecutorService": return target.getScheduledExecutorService();
case "scheduler": return target.getScheduler();
case "schedulerproperties":
case "schedulerProperties": return target.getSchedulerProperties();
case "sendemptymessagewhenidle":
case "sendEmptyMessageWhenIdle": return target.isSendEmptyMessageWhenIdle();
case "sendnoop":
case "sendNoop": return target.getConfiguration().isSendNoop();
case "separator": return target.getConfiguration().getSeparator();
case "shuffle": return target.isShuffle();
case "sitecommand":
case "siteCommand": return target.getConfiguration().getSiteCommand();
case "sotimeout":
case "soTimeout": return target.getConfiguration().getSoTimeout();
case "sortby":
case "sortBy": return target.getSortBy();
case "sorter": return target.getSorter();
case "startscheduler":
case "startScheduler": return target.isStartScheduler();
case "stepwise": return target.getConfiguration().isStepwise();
case "streamdownload":
case "streamDownload": return target.getConfiguration().isStreamDownload();
case "tempfilename":
case "tempFileName": return target.getTempFileName();
case "tempprefix":
case "tempPrefix": return target.getTempPrefix();
case "throwexceptiononconnectfailed":
case "throwExceptionOnConnectFailed": return target.getConfiguration().isThrowExceptionOnConnectFailed();
case "timeunit":
case "timeUnit": return target.getTimeUnit();
case "timeout": return target.getConfiguration().getTimeout();
case "transferloggingintervalseconds":
case "transferLoggingIntervalSeconds": return target.getTransferLoggingIntervalSeconds();
case "transferlogginglevel":
case "transferLoggingLevel": return target.getTransferLoggingLevel();
case "transferloggingverbose":
case "transferLoggingVerbose": return target.isTransferLoggingVerbose();
case "usefixeddelay":
case "useFixedDelay": return target.isUseFixedDelay();
case "uselist":
case "useList": return target.getConfiguration().isUseList();
case "username": return target.getConfiguration().getUsername();
default: return null;
}
}
@Override
public Object getCollectionValueType(Object target, String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "exclusivereadlockstrategy":
case "exclusiveReadLockStrategy": return org.apache.commons.net.ftp.FTPFile.class;
case "filter": return org.apache.commons.net.ftp.FTPFile.class;
case "ftpclientconfigparameters":
case "ftpClientConfigParameters": return java.lang.Object.class;
case "ftpclientparameters":
case "ftpClientParameters": return java.lang.Object.class;
case "processstrategy":
case "processStrategy": return org.apache.commons.net.ftp.FTPFile.class;
case "schedulerproperties":
case "schedulerProperties": return java.lang.Object.class;
case "sorter": return org.apache.camel.component.file.GenericFile.class;
default: return null;
}
}
}