Interface Delete

All Superinterfaces:
Operation

@Immutable public interface Delete extends Operation
A delete operation.
  • Method Details

    • getType

      default Operation.OperationType getType()
      Specified by:
      getType in interface Operation
    • of

      @Nonnull static Delete of(@Nonnull org.projectnessie.model.ContentKey key)
      Creates a delete operation for the given key.

      If the key for a content shall change (aka a rename), then use a Delete operation using the current (old) key and a Put operation using the new key providing the value with the correct content ID.

      Parameters:
      key - the key impacted by the operation
      Returns:
      a delete operation for the key