Package lumis.portal.monitor.impl
Enum MonitorRequestRule.RuleType
- java.lang.Object
-
- java.lang.Enum<MonitorRequestRule.RuleType>
-
- lumis.portal.monitor.impl.MonitorRequestRule.RuleType
-
- All Implemented Interfaces:
Serializable
,Comparable<MonitorRequestRule.RuleType>
- Enclosing class:
- MonitorRequestRule
public static enum MonitorRequestRule.RuleType extends Enum<MonitorRequestRule.RuleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM_HEADER
IP
USER_AGENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MonitorRequestRule.RuleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MonitorRequestRule.RuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_AGENT
public static final MonitorRequestRule.RuleType USER_AGENT
-
IP
public static final MonitorRequestRule.RuleType IP
-
CUSTOM_HEADER
public static final MonitorRequestRule.RuleType CUSTOM_HEADER
-
-
Method Detail
-
values
public static MonitorRequestRule.RuleType[] 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 (MonitorRequestRule.RuleType c : MonitorRequestRule.RuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonitorRequestRule.RuleType 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
-
-