Package com.newrelic.api.agent
Enum ApplicationNamePriority
- java.lang.Object
-
- java.lang.Enum<ApplicationNamePriority>
-
- com.newrelic.api.agent.ApplicationNamePriority
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ApplicationNamePriority>
public enum ApplicationNamePriority extends java.lang.Enum<ApplicationNamePriority>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTEXT_NAMECONTEXT_PARAMCONTEXT_PATHFILTER_INIT_PARAMNONEREQUEST_ATTRIBUTESERVLET_INIT_PARAM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationNamePriorityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ApplicationNamePriority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ApplicationNamePriority NONE
-
CONTEXT_PATH
public static final ApplicationNamePriority CONTEXT_PATH
-
CONTEXT_NAME
public static final ApplicationNamePriority CONTEXT_NAME
-
CONTEXT_PARAM
public static final ApplicationNamePriority CONTEXT_PARAM
-
FILTER_INIT_PARAM
public static final ApplicationNamePriority FILTER_INIT_PARAM
-
SERVLET_INIT_PARAM
public static final ApplicationNamePriority SERVLET_INIT_PARAM
-
REQUEST_ATTRIBUTE
public static final ApplicationNamePriority REQUEST_ATTRIBUTE
-
-
Method Detail
-
values
public static ApplicationNamePriority[] 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 (ApplicationNamePriority c : ApplicationNamePriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationNamePriority valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-