org.neociclo.accord.odetteftp.camel
Enum OdetteProtocol
java.lang.Object
java.lang.Enum<OdetteProtocol>
org.neociclo.accord.odetteftp.camel.OdetteProtocol
- All Implemented Interfaces:
- Serializable, Comparable<OdetteProtocol>
public enum OdetteProtocol
- extends Enum<OdetteProtocol>
OFTP
public static final OdetteProtocol OFTP
OFTPS
public static final OdetteProtocol OFTPS
values
public static OdetteProtocol[] 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 (OdetteProtocol c : OdetteProtocol.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OdetteProtocol valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
defaultPort
public int defaultPort()
ACCORD