Class 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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROPERTY_DESTINATION  
      • Fields inherited from interface org.xwiki.job.Request

        PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE
    • Constructor Summary

      Constructors 
      Constructor Description
      MoveRequest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Path getDestination()  
      void setDestination​(Path destination)
      Sets the destination path where to move the files and folders.
      • 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
    • Constructor Detail

      • MoveRequest

        public MoveRequest()
    • Method Detail

      • 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