Enum FtpServiceDescriptor.ServiceType
- java.lang.Object
-
- java.lang.Enum<FtpServiceDescriptor.ServiceType>
-
- com.jscape.inet.mft.management.descriptors.FtpServiceDescriptor.ServiceType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FtpServiceDescriptor.ServiceType>
- Enclosing class:
- FtpServiceDescriptor
public static enum FtpServiceDescriptor.ServiceType extends java.lang.Enum<FtpServiceDescriptor.ServiceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLICIT_SSLFORCED_EXPLICIT_SSLIMPLICIT_SSLREGULAR
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringcodeintdefaultPortbooleankeyUsed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FtpServiceDescriptor.ServiceTypetypeFor(java.lang.String code)static FtpServiceDescriptor.ServiceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FtpServiceDescriptor.ServiceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final FtpServiceDescriptor.ServiceType REGULAR
-
EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType EXPLICIT_SSL
-
FORCED_EXPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType FORCED_EXPLICIT_SSL
-
IMPLICIT_SSL
public static final FtpServiceDescriptor.ServiceType IMPLICIT_SSL
-
-
Method Detail
-
values
public static FtpServiceDescriptor.ServiceType[] 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 (FtpServiceDescriptor.ServiceType c : FtpServiceDescriptor.ServiceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FtpServiceDescriptor.ServiceType 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
-
typeFor
public static FtpServiceDescriptor.ServiceType typeFor(java.lang.String code)
-
-