Enum Class LeafClassification

java.lang.Object
java.lang.Enum<LeafClassification>
com.shaft.capture.generate.api.LeafClassification
All Implemented Interfaces:
Serializable, Comparable<LeafClassification>, Constable

public enum LeafClassification extends Enum<LeafClassification>
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 Constants
    Enum Constant
    Description
    A VOLATILE value that TransactionCorrelator found 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • STABLE

      public static final LeafClassification STABLE
      A value expected to be identical on every replay (e.g. a fixed status message).
    • VOLATILE

      public static final LeafClassification 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

      public static final LeafClassification SENSITIVE
      A value that must never be asserted or persisted in generated source/test-data (e.g. an authorization token or password).
    • CORRELATED

      public static final LeafClassification CORRELATED
      A VOLATILE value that TransactionCorrelator found 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

      public static LeafClassification[] 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

      public static LeafClassification valueOf(String name)
      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 name
      NullPointerException - if the argument is null