org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands
Class CopyCommand
java.lang.Object
org.nuxeo.runtime.jboss.deployment.preprocessor.install.commands.CopyCommand
- All Implemented Interfaces:
- Command
public class CopyCommand
- extends Object
- implements Command
- Author:
- Bogdan Stefanescu
src
protected final Path src
dst
protected final Path dst
filter
protected final PathFilter filter
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
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.