Package org.bremersee.test.web
Enum RestApiTesterPath.PathType
- java.lang.Object
-
- java.lang.Enum<RestApiTesterPath.PathType>
-
- org.bremersee.test.web.RestApiTesterPath.PathType
-
- All Implemented Interfaces:
Serializable
,Comparable<RestApiTesterPath.PathType>
- Enclosing interface:
- RestApiTesterPath
public static enum RestApiTesterPath.PathType extends Enum<RestApiTesterPath.PathType>
The path type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATION
Path type Annotation.ATTRIBUTE
Path type Attribute.CLASS
Path type Class.METHOD
Path type Method.METHOD_PARAMETER
Path type Method parameter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static RestApiTesterPath.PathType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestApiTesterPath.PathType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASS
public static final RestApiTesterPath.PathType CLASS
Path type Class.
-
METHOD
public static final RestApiTesterPath.PathType METHOD
Path type Method.
-
METHOD_PARAMETER
public static final RestApiTesterPath.PathType METHOD_PARAMETER
Path type Method parameter.
-
ANNOTATION
public static final RestApiTesterPath.PathType ANNOTATION
Path type Annotation.
-
ATTRIBUTE
public static final RestApiTesterPath.PathType ATTRIBUTE
Path type Attribute.
-
-
Method Detail
-
values
public static RestApiTesterPath.PathType[] 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 (RestApiTesterPath.PathType c : RestApiTesterPath.PathType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestApiTesterPath.PathType 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<RestApiTesterPath.PathType>
-
-