Package org.xwiki.filemanager.job
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
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
FieldsFields inherited from class org.xwiki.filemanager.job.BatchPathRequest
PROPERTY_PATHSFields inherited from interface org.xwiki.job.Request
PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDestination(Path destination) Sets the destination path where to move the files and folders.Methods inherited from class org.xwiki.filemanager.job.BatchPathRequest
getPaths, setPathsMethods 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
-
Field Details
-
PROPERTY_DESTINATION
- See Also:
-
-
Constructor Details
-
MoveRequest
public MoveRequest()
-
-
Method Details
-
getDestination
- Returns:
- the destination path where to move the files and folders
-
setDestination
Sets the destination path where to move the files and folders.- Parameters:
destination- the destination path
-