Enum MatchingStrategy.Type
java.lang.Object
java.lang.Enum<MatchingStrategy.Type>
org.springframework.cloud.contract.spec.internal.MatchingStrategy.Type
- All Implemented Interfaces:
Serializable,Comparable<MatchingStrategy.Type>,java.lang.constant.Constable
- Enclosing class:
- MatchingStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbsence check.Binary equality check.Contains check.Equality check.Equal to JSON check.Equal to XML check.Matching check.Not matching check. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetName()static MatchingStrategy.TypeReturns the enum constant of this type with the specified name.static MatchingStrategy.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EQUAL_TO
Equality check. -
CONTAINS
Contains check. -
MATCHING
Matching check. -
NOT_MATCHING
Not matching check. -
EQUAL_TO_JSON
Equal to JSON check. -
EQUAL_TO_XML
Equal to XML check. -
ABSENT
Absence check. -
BINARY_EQUAL_TO
Binary equality check.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getName
-