Class MoveRequest

java.lang.Object
org.xwiki.job.AbstractRequest
org.xwiki.filemanager.job.BatchPathRequest
org.xwiki.filemanager.job.MoveRequest
All Implemented Interfaces:
Serializable, org.xwiki.job.Request

@Unstable public class MoveRequest extends BatchPathRequest
Request used by MoveJob to move files and folders to a different path, possibly renaming the target file or folder in case there is only one item to move.
Since:
2.0M1
Version:
$Id$
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.xwiki.filemanager.job.BatchPathRequest

    PROPERTY_PATHS

    Fields inherited from interface org.xwiki.job.Request

    PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setDestination(Path destination)
    Sets the destination path where to move the files and folders.

    Methods inherited from class org.xwiki.filemanager.job.BatchPathRequest

    getPaths, setPaths

    Methods inherited from class org.xwiki.job.AbstractRequest

    containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MoveRequest

      public MoveRequest()
  • Method Details

    • getDestination

      public Path getDestination()
      Returns:
      the destination path where to move the files and folders
    • setDestination

      public void setDestination(Path destination)
      Sets the destination path where to move the files and folders.
      Parameters:
      destination - the destination path