Package com.adaptris.ftp
Enum ClientSettings.FTPS
- java.lang.Object
-
- java.lang.Enum<ClientSettings.FTPS>
-
- com.adaptris.ftp.ClientSettings.FTPS
-
- All Implemented Interfaces:
ClientSettings.Setter<org.apache.commons.net.ftp.FTPSClient>
,java.io.Serializable
,java.lang.Comparable<ClientSettings.FTPS>
- Enclosing class:
- ClientSettings
public static enum ClientSettings.FTPS extends java.lang.Enum<ClientSettings.FTPS> implements ClientSettings.Setter<org.apache.commons.net.ftp.FTPSClient>
Additional settings on theFTPSClient
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AuthValue
Maps toFTPSClient#setAuthValue(String)
.EnabledCipherSuites
Maps toFTPSClient#setEnabledCipherSuites(String[])
; use a comma-separated string.EnabledProtocols
Maps toFTPSClient#setEnabledProtocols(String[])
; use a comma-separated string.EnabledSessionCreation
Maps toFTPSClient#setEnabledSessionCreation(boolean)
.EndpointCheckingEnabled
Maps toFTPSClient#setEndpointCheckingEnabled(boolean)
.NeedClientAuth
Maps toFTPSClient#setNeedClientAuth(boolean)
.UseClientMode
Maps toFTPSClient#setUseClientMode(boolean)
.WantClientAuth
Maps toFTPSClient#setWantClientAuth(boolean)
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientSettings.FTPS
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientSettings.FTPS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.adaptris.ftp.ClientSettings.Setter
name, set
-
-
-
-
Enum Constant Detail
-
AuthValue
public static final ClientSettings.FTPS AuthValue
Maps toFTPSClient#setAuthValue(String)
.
-
EnabledCipherSuites
public static final ClientSettings.FTPS EnabledCipherSuites
Maps toFTPSClient#setEnabledCipherSuites(String[])
; use a comma-separated string.
-
EnabledProtocols
public static final ClientSettings.FTPS EnabledProtocols
Maps toFTPSClient#setEnabledProtocols(String[])
; use a comma-separated string.
-
EnabledSessionCreation
public static final ClientSettings.FTPS EnabledSessionCreation
Maps toFTPSClient#setEnabledSessionCreation(boolean)
.
-
EndpointCheckingEnabled
public static final ClientSettings.FTPS EndpointCheckingEnabled
Maps toFTPSClient#setEndpointCheckingEnabled(boolean)
.
-
NeedClientAuth
public static final ClientSettings.FTPS NeedClientAuth
Maps toFTPSClient#setNeedClientAuth(boolean)
.
-
UseClientMode
public static final ClientSettings.FTPS UseClientMode
Maps toFTPSClient#setUseClientMode(boolean)
.
-
WantClientAuth
public static final ClientSettings.FTPS WantClientAuth
Maps toFTPSClient#setWantClientAuth(boolean)
.
-
-
Method Detail
-
values
public static ClientSettings.FTPS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientSettings.FTPS c : ClientSettings.FTPS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientSettings.FTPS valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-