Package org.bremersee.test.web
Enum RestApiAssertionType
- java.lang.Object
-
- java.lang.Enum<RestApiAssertionType>
-
- org.bremersee.test.web.RestApiAssertionType
-
- All Implemented Interfaces:
Serializable
,Comparable<RestApiAssertionType>
public enum RestApiAssertionType extends Enum<RestApiAssertionType>
The rest api assertion type.- Author:
- Christian Bremer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOTATION_MUST_NOT_BE_NULL
Annotation must not be null rest api assertion type.ANY
Any rest api assertion type.CLASS_MUST_BE_INTERFACE
Class must be interface rest api assertion type.METHOD_MUST_NOT_BE_NULL
Method must not be null rest api assertion type.SAME_ANNOTATION_ATTRIBUTE_VALUE
Same annotation attribute value rest api assertion type.SAME_ANNOTATION_ATTRIBUTES_SIZE
Same annotation attributes size rest api assertion type.SAME_ANNOTATION_SIZE
Same annotation size rest api assertion type.SAME_METHOD_SIZE
Same method size rest api assertion type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestApiAssertionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestApiAssertionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final RestApiAssertionType ANY
Any rest api assertion type.
-
CLASS_MUST_BE_INTERFACE
public static final RestApiAssertionType CLASS_MUST_BE_INTERFACE
Class must be interface rest api assertion type.
-
SAME_METHOD_SIZE
public static final RestApiAssertionType SAME_METHOD_SIZE
Same method size rest api assertion type.
-
METHOD_MUST_NOT_BE_NULL
public static final RestApiAssertionType METHOD_MUST_NOT_BE_NULL
Method must not be null rest api assertion type.
-
SAME_ANNOTATION_SIZE
public static final RestApiAssertionType SAME_ANNOTATION_SIZE
Same annotation size rest api assertion type.
-
ANNOTATION_MUST_NOT_BE_NULL
public static final RestApiAssertionType ANNOTATION_MUST_NOT_BE_NULL
Annotation must not be null rest api assertion type.
-
SAME_ANNOTATION_ATTRIBUTES_SIZE
public static final RestApiAssertionType SAME_ANNOTATION_ATTRIBUTES_SIZE
Same annotation attributes size rest api assertion type.
-
SAME_ANNOTATION_ATTRIBUTE_VALUE
public static final RestApiAssertionType SAME_ANNOTATION_ATTRIBUTE_VALUE
Same annotation attribute value rest api assertion type.
-
-
Method Detail
-
values
public static RestApiAssertionType[] 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 (RestApiAssertionType c : RestApiAssertionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestApiAssertionType 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
-
-