Enum ThriftEndpointBuilderFactory.ThriftExchangeProtocol
- java.lang.Object
-
- java.lang.Enum<ThriftEndpointBuilderFactory.ThriftExchangeProtocol>
-
- org.apache.camel.builder.endpoint.dsl.ThriftEndpointBuilderFactory.ThriftExchangeProtocol
-
- All Implemented Interfaces:
Serializable
,Comparable<ThriftEndpointBuilderFactory.ThriftExchangeProtocol>
- Enclosing interface:
- ThriftEndpointBuilderFactory
public static enum ThriftEndpointBuilderFactory.ThriftExchangeProtocol extends Enum<ThriftEndpointBuilderFactory.ThriftExchangeProtocol>
Proxy enum fororg.apache.camel.component.thrift.ThriftExchangeProtocol
enum.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThriftEndpointBuilderFactory.ThriftExchangeProtocol
valueOf(String name)
Returns the enum constant of this type with the specified name.static ThriftEndpointBuilderFactory.ThriftExchangeProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final ThriftEndpointBuilderFactory.ThriftExchangeProtocol BINARY
-
JSON
public static final ThriftEndpointBuilderFactory.ThriftExchangeProtocol JSON
-
SJSON
public static final ThriftEndpointBuilderFactory.ThriftExchangeProtocol SJSON
-
COMPACT
public static final ThriftEndpointBuilderFactory.ThriftExchangeProtocol COMPACT
-
-
Method Detail
-
values
public static ThriftEndpointBuilderFactory.ThriftExchangeProtocol[] 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 (ThriftEndpointBuilderFactory.ThriftExchangeProtocol c : ThriftEndpointBuilderFactory.ThriftExchangeProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThriftEndpointBuilderFactory.ThriftExchangeProtocol 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 nameNullPointerException
- if the argument is null
-
-