Class AppendCommand
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand
-
- All Implemented Interfaces:
Command
public class AppendCommand extends Object implements Command
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
addNewLine
protected Path
dst
protected FileNamePattern
pattern
protected Path
src
-
Constructor Summary
Constructors Constructor Description AppendCommand(Path src, Path dst)
AppendCommand(Path src, Path dst, boolean addNewLine, FileNamePattern pattern)
-
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
-
addNewLine
protected final boolean addNewLine
-
pattern
protected final FileNamePattern pattern
-
-
Constructor Detail
-
AppendCommand
public AppendCommand(Path src, Path dst, boolean addNewLine, FileNamePattern pattern)
-
AppendCommand
public AppendCommand(Path src, Path dst)
-
-
Method Detail
-
exec
public void exec(CommandContext ctx) throws IOException
- Specified by:
exec
in interfaceCommand
- Throws:
IOException
-
toString
public String toString(CommandContext ctx)
-
-