Class MkdirCommand
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.install.commands.MkdirCommand
-
- All Implemented Interfaces:
Command
public class MkdirCommand extends Object implements Command
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description MkdirCommand(Path path)
Constructor for mkdir 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
-
MkdirCommand
public MkdirCommand(Path path)
Constructor for mkdir 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)
-
-