Class DeleteCommand
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.install.commands.DeleteCommand
-
- All Implemented Interfaces:
Command
public class DeleteCommand extends Object implements Command
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description DeleteCommand(Path path)
Constructor for delete command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec(CommandContext ctx)
String
toString()
String
toString(CommandContext ctx)
-
-
-
Field Detail
-
path
protected final Path path
-
-
Constructor Detail
-
DeleteCommand
public DeleteCommand(Path path)
Constructor for delete command.- Parameters:
path
- the path relative to the root container.
-
-
Method Detail
-
exec
public void exec(CommandContext ctx) throws IOException
- Specified by:
exec
in interfaceCommand
- Throws:
IOException
-
toString
public String toString(CommandContext ctx)
-
-