} else if (moveNamePostfix != null || moveNamePrefix != null) {
if (isDelete()) {
throw new IllegalArgumentException(
"You cannot set the deleteFiles property and a moveFilenamePostfix or moveFilenamePrefix");
}
return new RenameFileProcessStrategy(isLock(), moveNamePrefix, moveNamePostfix);
} else if (isDelete()) {
return new DeleteFileProcessStrategy(isLock());
} else {
return new RenameFileProcessStrategy(isLock());
}
}