org.nuxeo.runtime.deployment.preprocessor.install.commands
Class CopyCommand
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.install.commands.CopyCommand
- All Implemented Interfaces:
- Command
public class CopyCommand
- extends Object
- implements Command
- Author:
- Bogdan Stefanescu
CopyCommand
public CopyCommand(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
CopyCommand
public CopyCommand(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.