Package org.ikasan.endpoint.ftp.consumer
Class FtpConsumerAlternateConfiguration
- java.lang.Object
-
- org.ikasan.component.endpoint.quartz.consumer.ScheduledConsumerConfiguration
-
- org.ikasan.endpoint.ftp.consumer.FtpConsumerConfiguration
-
- org.ikasan.endpoint.ftp.consumer.FtpConsumerAlternateConfiguration
-
- All Implemented Interfaces:
org.ikasan.spec.configuration.IsValidationAware
public class FtpConsumerAlternateConfiguration extends FtpConsumerConfiguration implements org.ikasan.spec.configuration.IsValidationAware
FTP Consumer Configuration window providing alternate connection details to be used in case primary connection fails- Author:
- Ikasan Development Team
-
-
Constructor Summary
Constructors Constructor Description FtpConsumerAlternateConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetAlternateActive()java.lang.IntegergetAlternateConnectionTimeout()java.lang.IntegergetAlternateDataTimeout()java.lang.IntegergetAlternateMaxRetryAttempts()java.lang.StringgetAlternatePassword()java.lang.StringgetAlternateRemoteHost()java.lang.IntegergetAlternateRemotePort()java.lang.IntegergetAlternateSocketTimeout()java.lang.StringgetAlternateSystemKey()java.lang.StringgetAlternateUsername()voidsetAlternateActive(java.lang.Boolean alternateActive)voidsetAlternateConnectionTimeout(java.lang.Integer alternateConnectionTimeout)voidsetAlternateDataTimeout(java.lang.Integer alternateDataTimeout)voidsetAlternateMaxRetryAttempts(java.lang.Integer alternateMaxRetryAttempts)voidsetAlternatePassword(java.lang.String alternatePassword)voidsetAlternateRemoteHost(java.lang.String alternateRemoteHost)voidsetAlternateRemotePort(java.lang.Integer alternateRemotePort)voidsetAlternateSocketTimeout(java.lang.Integer alternateSocketTimeout)voidsetAlternateSystemKey(java.lang.String alternateSystemKey)voidsetAlternateUsername(java.lang.String alternateUsername)voidvalidate()Validate configured properties.-
Methods inherited from class org.ikasan.endpoint.ftp.consumer.FtpConsumerConfiguration
getActive, getAgeOfFiles, getChecksum, getChronological, getChunking, getChunkSize, getCleanupJournalOnComplete, getClientID, getConnectionTimeout, getDataTimeout, getDestructive, getFilenamePattern, getFilterDuplicates, getFilterOnFilename, getFilterOnLastModifiedDate, getFTPS, getFtpsIsImplicit, getFtpsKeyStoreFilePassword, getFtpsKeyStoreFilePath, getFtpsPort, getFtpsProtocol, getIsRecursive, getMaxRetryAttempts, getMaxRows, getMinAge, getMoveOnSuccess, getMoveOnSuccessNewPath, getPassword, getPasswordFilePath, getProvideRelativePath, getRemoteHost, getRemotePort, getRenameOnSuccess, getRenameOnSuccessExtension, getSocketTimeout, getSourceDirectory, getSourceDirectoryURLFactory, getSystemKey, getUsername, isFTPS, setActive, setAgeOfFiles, setChecksum, setChronological, setChunking, setChunkSize, setCleanupJournalOnComplete, setClientID, setConnectionTimeout, setDataTimeout, setDestructive, setFilenamePattern, setFilterDuplicates, setFilterOnFilename, setFilterOnLastModifiedDate, setFTPS, setFtpsIsImplicit, setFtpsKeyStoreFilePassword, setFtpsKeyStoreFilePath, setFtpsPort, setFtpsProtocol, setIsRecursive, setMaxRetryAttempts, setMaxRows, setMinAge, setMoveOnSuccess, setMoveOnSuccessNewPath, setPassword, setPasswordFilePath, setProvideRelativePath, setRemoteHost, setRemotePort, setRenameOnSuccess, setRenameOnSuccessExtension, setSocketTimeout, setSourceDirectory, setSourceDirectoryURLFactory, setSystemKey, setUsername
-
Methods inherited from class org.ikasan.component.endpoint.quartz.consumer.ScheduledConsumerConfiguration
getCronExpression, getDescription, getJobGroupName, getJobName, getMaxEagerCallbacks, getPassthroughProperties, getRecoveryTolerance, getTimezone, isEager, isIgnoreMisfire, isPersistentRecovery, setCronExpression, setDescription, setEager, setIgnoreMisfire, setJobGroupName, setJobName, setMaxEagerCallbacks, setPassthroughProperties, setPersistentRecovery, setRecoveryTolerance, setTimezone
-
-
-
-
Method Detail
-
getAlternateRemoteHost
public java.lang.String getAlternateRemoteHost()
- Returns:
- the alternateRemoteHost
-
setAlternateRemoteHost
public void setAlternateRemoteHost(java.lang.String alternateRemoteHost)
- Parameters:
alternateRemoteHost- the alternateRemoteHost to set
-
getAlternateRemotePort
public java.lang.Integer getAlternateRemotePort()
- Returns:
- the alternateRemotePort
-
setAlternateRemotePort
public void setAlternateRemotePort(java.lang.Integer alternateRemotePort)
- Parameters:
alternateRemotePort- the alternateRemotePort to set
-
getAlternateMaxRetryAttempts
public java.lang.Integer getAlternateMaxRetryAttempts()
- Returns:
- the alternateMaxRetryAttempts
-
setAlternateMaxRetryAttempts
public void setAlternateMaxRetryAttempts(java.lang.Integer alternateMaxRetryAttempts)
- Parameters:
alternateMaxRetryAttempts- the alternateMaxRetryAttempts to set
-
getAlternateUsername
public java.lang.String getAlternateUsername()
- Returns:
- the alternateUsername
-
setAlternateUsername
public void setAlternateUsername(java.lang.String alternateUsername)
- Parameters:
alternateUsername- the alternateUsername to set
-
getAlternatePassword
public java.lang.String getAlternatePassword()
- Returns:
- the alternatePassword
-
setAlternatePassword
public void setAlternatePassword(java.lang.String alternatePassword)
- Parameters:
alternatePassword- the alternatePassword to set
-
getAlternateActive
public java.lang.Boolean getAlternateActive()
- Returns:
- the alternateActive
-
setAlternateActive
public void setAlternateActive(java.lang.Boolean alternateActive)
- Parameters:
alternateActive- the alternateActive to set
-
getAlternateConnectionTimeout
public java.lang.Integer getAlternateConnectionTimeout()
- Returns:
- the alternateConnectionTimeout
-
setAlternateConnectionTimeout
public void setAlternateConnectionTimeout(java.lang.Integer alternateConnectionTimeout)
- Parameters:
alternateConnectionTimeout- the alternateConnectionTimeout to set
-
getAlternateDataTimeout
public java.lang.Integer getAlternateDataTimeout()
- Returns:
- the alternateDataTimeout
-
setAlternateDataTimeout
public void setAlternateDataTimeout(java.lang.Integer alternateDataTimeout)
- Parameters:
alternateDataTimeout- the alternateDataTimeout to set
-
getAlternateSocketTimeout
public java.lang.Integer getAlternateSocketTimeout()
- Returns:
- the alternateSocketTimeout
-
setAlternateSocketTimeout
public void setAlternateSocketTimeout(java.lang.Integer alternateSocketTimeout)
- Parameters:
alternateSocketTimeout- the alternateSocketTimeout to set
-
getAlternateSystemKey
public java.lang.String getAlternateSystemKey()
- Returns:
- the alternateSystemKey
-
setAlternateSystemKey
public void setAlternateSystemKey(java.lang.String alternateSystemKey)
- Parameters:
alternateSystemKey- the alternateSystemKey to set
-
validate
public void validate() throws org.ikasan.spec.configuration.InvalidConfigurationExceptionValidate configured properties.- Specified by:
validatein interfaceorg.ikasan.spec.configuration.IsValidationAware- Overrides:
validatein classFtpConsumerConfiguration- Throws:
org.ikasan.spec.configuration.InvalidConfigurationException- if combination of configured properties is invalid
-
-