Class 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 Detail

      • FtpConsumerAlternateConfiguration

        public FtpConsumerAlternateConfiguration()
    • 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.InvalidConfigurationException
        Validate configured properties.
        Specified by:
        validate in interface org.ikasan.spec.configuration.IsValidationAware
        Overrides:
        validate in class FtpConsumerConfiguration
        Throws:
        org.ikasan.spec.configuration.InvalidConfigurationException - if combination of configured properties is invalid