Enum Class LeafClassification
- All Implemented Interfaces:
Serializable, Comparable<LeafClassification>, Constable
Classification of one scalar JSON leaf discovered in a recorded API response body.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAVOLATILEvalue thatTransactionCorrelatorfound reused by a later request in the same session, and which codegen therefore chains through a variable instead of asserting or replaying as a literal.A value that must never be asserted or persisted in generated source/test-data (e.g. an authorization token or password).A value expected to be identical on every replay (e.g. a fixed status message).A value expected to change on every replay (e.g. a generated ID or timestamp) that is not observed being reused by a later request in the same session. -
Method Summary
Modifier and TypeMethodDescriptionstatic LeafClassificationReturns the enum constant of this class with the specified name.static LeafClassification[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STABLE
A value expected to be identical on every replay (e.g. a fixed status message). -
VOLATILE
A value expected to change on every replay (e.g. a generated ID or timestamp) that is not observed being reused by a later request in the same session. -
SENSITIVE
A value that must never be asserted or persisted in generated source/test-data (e.g. an authorization token or password). -
CORRELATED
AVOLATILEvalue thatTransactionCorrelatorfound reused by a later request in the same session, and which codegen therefore chains through a variable instead of asserting or replaying as a literal.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-