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