Enum WebElementType
- java.lang.Object
-
- java.lang.Enum<WebElementType>
-
- ru.vyarus.dropwizard.guice.debug.report.web.model.WebElementType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WebElementType>
public enum WebElementType extends java.lang.Enum<WebElementType>
Type of ServletModule registration.- Since:
- 23.10.2019
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebElementType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WebElementType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVLET
public static final WebElementType SERVLET
-
FILTER
public static final WebElementType FILTER
-
-
Method Detail
-
values
public static WebElementType[] 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 (WebElementType c : WebElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebElementType 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
-
-