public enum AS2ApiName extends Enum<AS2ApiName> implements org.apache.camel.support.component.ApiName
ApiName Enumeration for Component AS2| Modifier and Type | Method and Description |
|---|---|
static AS2ApiName |
fromValue(String value) |
String |
getName() |
static AS2ApiName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AS2ApiName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AS2ApiName CLIENT
public static final AS2ApiName SERVER
public static AS2ApiName[] values()
for (AS2ApiName c : AS2ApiName.values()) System.out.println(c);
public static AS2ApiName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
getName in interface org.apache.camel.support.component.ApiNamepublic static AS2ApiName fromValue(String value) throws IllegalArgumentException
IllegalArgumentExceptionApache Camel