public interface MoveCommand
| Modifier and Type | Method and Description |
|---|---|
void |
move(FileConnectorConfig config,
String sourcePath,
String targetPath,
boolean overwrite,
boolean createParentDirectories,
String renameTo)
Moves files under the considerations of
FileSystem.move(FileConnectorConfig, String, String, boolean, boolean, String) |
void move(FileConnectorConfig config, String sourcePath, String targetPath, boolean overwrite, boolean createParentDirectories, String renameTo)
FileSystem.move(FileConnectorConfig, String, String, boolean, boolean, String)config - the config that is parameterizing this operationsourcePath - the path to the file to be copiedtargetPath - the target directoryoverwrite - whether or not overwrite the file if the target destination already exists.createParentDirectories - whether or not to attempt creating any parent directories which don't exists.renameTo - the new file name, null if the file doesn't need to be renamedIllegalArgumentException - if an illegal combination of arguments is suppliedCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.