Package org.apache.camel.tracing
Enum Tag
- java.lang.Object
-
- java.lang.Enum<Tag>
-
- org.apache.camel.tracing.Tag
-
- All Implemented Interfaces:
Serializable
,Comparable<Tag>
public enum Tag extends Enum<Tag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT
DB_INSTANCE
DB_STATEMENT
DB_TYPE
ERROR
HTTP_METHOD
HTTP_STATUS
HTTP_URL
MESSAGE_BUS_DESTINATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Tag
valueOf(String name)
Returns the enum constant of this type with the specified name.static Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPONENT
public static final Tag COMPONENT
-
HTTP_STATUS
public static final Tag HTTP_STATUS
-
HTTP_METHOD
public static final Tag HTTP_METHOD
-
HTTP_URL
public static final Tag HTTP_URL
-
MESSAGE_BUS_DESTINATION
public static final Tag MESSAGE_BUS_DESTINATION
-
DB_TYPE
public static final Tag DB_TYPE
-
DB_INSTANCE
public static final Tag DB_INSTANCE
-
DB_STATEMENT
public static final Tag DB_STATEMENT
-
ERROR
public static final Tag ERROR
-
-
Method Detail
-
values
public static Tag[] 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 (Tag c : Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tag 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
-
-