Class FromOperation

java.lang.Object
org.dspace.app.rest.model.patch.Operation
org.dspace.app.rest.model.patch.FromOperation
Direct Known Subclasses:
CopyOperation, MoveOperation

public abstract class FromOperation extends Operation
Operation to track the "from" operation to the given "path".
Author:
Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
  • Constructor Details

    • FromOperation

      public FromOperation(String op, String path, String from)
      Constructs the operation
      Parameters:
      op - The name of the operation to perform. (e.g., 'copy')
      path - The operation's target path. (e.g., '/foo/bar/4')
      from - The operation's source path. (e.g., '/foo/bar/5')
  • Method Details

    • getFrom

      public String getFrom()