Class TestOp


@Marshalled(typeName="test") public class TestOp extends JsonPatchOperation
The JSON Patch "test" operation per RFC 6902 § 4.6.

Tests that the value at path equals value.

  • Constructor Details

    • TestOp

      public TestOp()
      Default constructor.
    • TestOp

      public TestOp(String path, Object value)
      Convenience constructor.
      Parameters:
      path - The JSON Pointer target. Can be null to leave the property unset.
      value - The value to test for. Can be null to leave the property unset.
  • Method Details

    • getValue

      public Object getValue()
      Bean property getter: value.
      Returns:
      The value of the value property, or null if it is not set.
    • setValue

      public TestOp setValue(Object value)
      Bean property setter: value.
      Parameters:
      value - The new value for this property. Can be null to unset the property.
      Returns:
      This object.