org.nuxeo.runtime.deployment.preprocessor.install.commands
Class MoveCommand
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.install.commands.MoveCommand
- All Implemented Interfaces:
- Command
public class MoveCommand
- extends Object
- implements Command
- Author:
- Bogdan Stefanescu
MoveCommand
public MoveCommand(Path src,
Path dst)
- Constructor for copy command.
- Parameters:
src
- the path relative to the root container. The path will be made
absolute if not alreadydst
- the path relative to teh root container of the destination. If
it is ending with a slash '/' the destination path is treated
as a directory
MoveCommand
public MoveCommand(Path src,
Path dst,
PathFilter filter)
exec
public void exec(CommandContext ctx)
throws IOException
- Specified by:
exec
in interface Command
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
toString
public String toString(CommandContext ctx)
- Specified by:
toString
in interface Command
Copyright © 2011 Nuxeo SAS. All Rights Reserved.