public class

ConnectorConfiguration

extends Object
java.lang.Object
   ↳ org.mule.modules.ftps.ConnectorConfiguration

Summary

Nested Classes
class ConnectorConfiguration.TestConnectionResult  
Constants
int TEST_CONNECTION_TIMEOUT
Fields
private B2BProvider b2b
private Boolean disableCertificateValidation Password for the FTPS Server
private String host Domain or IP address of the server
private String keyStorePassword Specify the password for SSL Certificate
private String keyStorePath Specify where the SSL Certificate is located
private static final Logger logger
private Integer maxActivePort Maximum port for Active data transfers
private Integer maxConcurrentReads If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes."
private Integer minActivePort Minimum port for Active data transfers
private String password Password for the FTPS Server
private String port Port of the FTP server
private String reportedIpAddress Reportable IP address to be used in Active Mode
private FTPSSSLMode sslEncryptionMode Choose between implicit and explicit modes
private Boolean streaming Content streaming.
private FTPSTransferMode transferMode Choose between active and passive modes
private String uploadTmpDir If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes."
private Boolean useB2BProvider Integrate with Anypoint B2B platform to manage your AS2 Connector and record AS2 transmissions.
private String username Username for the FTPS Server
Public Constructors
ConnectorConfiguration()
Public Methods
B2BProvider getB2b()
Boolean getDisableCertificateValidation()
String getHost()
String getKeyStorePassword()
String getKeyStorePath()
int getMaxActivePort()
Integer getMaxConcurrentReads()
int getMinActivePort()
String getPassword()
String getPort()
String getReportedIpAddress()
FTPSSSLMode getSslEncryptionMode()
Boolean getStreaming()
FTPSTransferMode getTransferMode()
String getUploadTmpDir()
Boolean getUseB2BProvider()
String getUsername()
void setB2b(B2BProvider b2b)
void setDisableCertificateValidation(Boolean disableCertificateValidation)
void setHost(String host)
void setKeyStorePassword(String keyStorePassword)
void setKeyStorePath(String keyStorePath)
void setMaxActivePort(int maxActivePort)
void setMaxConcurrentReads(Integer maxConcurrentReads)
void setMinActivePort(int minActivePort)
void setPassword(String password)
void setPort(String port)
void setReportedIpAddress(String reportedIpAddress)
void setSslEncryptionMode(FTPSSSLMode sslEncryptionMode)
void setStreaming(Boolean streaming)
void setTransferMode(FTPSTransferMode transferMode)
void setUploadTmpDir(String uploadTmpDir)
void setUseB2BProvider(Boolean useB2BProvider)
void setUsername(String username)
void testConnectivity()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final int TEST_CONNECTION_TIMEOUT

Constant Value: 30 (0x0000001e)

Fields

private B2BProvider b2b

private Boolean disableCertificateValidation

Password for the FTPS Server

private String host

Domain or IP address of the server

private String keyStorePassword

Specify the password for SSL Certificate

private String keyStorePath

Specify where the SSL Certificate is located

private static final Logger logger

private Integer maxActivePort

Maximum port for Active data transfers

private Integer maxConcurrentReads

If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes."

private Integer minActivePort

Minimum port for Active data transfers

private String password

Password for the FTPS Server

private String port

Port of the FTP server

private String reportedIpAddress

Reportable IP address to be used in Active Mode

private FTPSSSLMode sslEncryptionMode

Choose between implicit and explicit modes

private Boolean streaming

Content streaming.

private FTPSTransferMode transferMode

Choose between active and passive modes

private String uploadTmpDir

If set, the connector will try to upload files to the temporary directory and move them to their final destination once the upload completes."

private Boolean useB2BProvider

Integrate with Anypoint B2B platform to manage your AS2 Connector and record AS2 transmissions. The B2B Connector must be set up before enabling this feature.

private String username

Username for the FTPS Server

Public Constructors

public ConnectorConfiguration ()

Public Methods

public B2BProvider getB2b ()

Returns
  • the b2b

public Boolean getDisableCertificateValidation ()

Returns
  • the disableCertificateValidation

public String getHost ()

Returns
  • the host

public String getKeyStorePassword ()

Returns
  • the keyStorePassword

public String getKeyStorePath ()

Returns
  • the keyStorePath

public int getMaxActivePort ()

Returns
  • the maxActivePort

public Integer getMaxConcurrentReads ()

Returns
  • the maxConcurrentReads

public int getMinActivePort ()

Returns
  • the minActivePort

public String getPassword ()

Returns
  • the password

public String getPort ()

Returns
  • the port

public String getReportedIpAddress ()

Returns
  • the reportedIpAddress

public FTPSSSLMode getSslEncryptionMode ()

Returns
  • the sslEncryptionMode

public Boolean getStreaming ()

public FTPSTransferMode getTransferMode ()

Returns
  • the transferMode

public String getUploadTmpDir ()

Returns
  • the uploadTmpDir

public Boolean getUseB2BProvider ()

Returns
  • the useB2BProvider

public String getUsername ()

Returns
  • the username

public void setB2b (B2BProvider b2b)

Parameters
b2b The b2b to set

public void setDisableCertificateValidation (Boolean disableCertificateValidation)

Parameters
disableCertificateValidation The disableCertificateValidation to set

public void setHost (String host)

Parameters
host The host to set

public void setKeyStorePassword (String keyStorePassword)

Parameters
keyStorePassword The keyStorePassword to set

public void setKeyStorePath (String keyStorePath)

Parameters
keyStorePath The keyStorePath to set

public void setMaxActivePort (int maxActivePort)

Parameters
maxActivePort The maxActivePort to set

public void setMaxConcurrentReads (Integer maxConcurrentReads)

Parameters
maxConcurrentReads The maxConcurrentReads to set

public void setMinActivePort (int minActivePort)

Parameters
minActivePort The minActivePort to set

public void setPassword (String password)

Parameters
password The password to set

public void setPort (String port)

Parameters
port The port to set

public void setReportedIpAddress (String reportedIpAddress)

Parameters
reportedIpAddress The reportedIpAddress to set

public void setSslEncryptionMode (FTPSSSLMode sslEncryptionMode)

Parameters
sslEncryptionMode The sslEncryptionMode to set

public void setStreaming (Boolean streaming)

Parameters
streaming

public void setTransferMode (FTPSTransferMode transferMode)

Parameters
transferMode The transferMode to set

public void setUploadTmpDir (String uploadTmpDir)

Parameters
uploadTmpDir The uploadTmpDir to set

public void setUseB2BProvider (Boolean useB2BProvider)

Parameters
useB2BProvider The useB2BProvider to set

public void setUsername (String username)

Parameters
username The username to set

public void testConnectivity ()

Throws
ConnectionException