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 voidexec(CommandContext ctx)StringtoString()StringtoString(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:
execin interfaceCommand- Throws:
IOException
-
toString
public String toString(CommandContext ctx)
-
-