Class UpdateOp.Condition

java.lang.Object
org.apache.jackrabbit.oak.plugins.document.UpdateOp.Condition
Enclosing class:
UpdateOp

public static final class UpdateOp.Condition extends Object
A condition to check before an update is applied.
  • Field Details

  • Method Details

    • newEqualsCondition

      public static UpdateOp.Condition newEqualsCondition(@Nullable @Nullable Object value)
      Creates a new equals condition with the given value.
      Parameters:
      value - the value to compare to.
      Returns:
      the equals condition.
    • newNotEqualsCondition

      public static UpdateOp.Condition newNotEqualsCondition(@Nullable @Nullable Object value)
      Creates a new notEquals condition with the given value.
      Parameters:
      value - the value to compare to.
      Returns:
      the notEquals condition.
    • toString

      public String toString()
      Overrides:
      toString in class Object