/** * @param localFilenameExpression a SpEL expression to evaluate the local file name. * @return the Spec. * @since 1.1.1 */ public S localFilenameExpression(Expression localFilenameExpression) { this.target.setLocalFilenameGeneratorExpression(localFilenameExpression); return _this(); }
/** * Determine the action to take when using GET and MGET operations when the file * already exists locally, or PUT and MPUT when the file exists on the remote system. * @param fileExistsMode the fileExistsMode to set. * @return the Spec. * @since 1.2.3 */ public S fileExistsMode(FileExistsMode fileExistsMode) { this.target.setFileExistsMode(fileExistsMode); return _this(); }
/** * Determine the action to take when using GET and MGET operations when the file * already exists locally, or PUT and MPUT when the file exists on the remote system. * @param fileExistsMode the fileExistsMode to set. * @return the Spec. * @since 1.2.3 */ public S fileExistsMode(FileExistsMode fileExistsMode) { this.target.setFileExistsMode(fileExistsMode); return _this(); }
/** * @param localDirectoryExpression a SpEL expression to evaluate the local directory. * @return the Spec. * @since 1.1.1 */ public S localDirectoryExpression(Expression localDirectoryExpression) { this.target.setLocalDirectoryExpression(localDirectoryExpression); return _this(); }
/** * @param localDirectoryExpression a SpEL expression to evaluate the local directory. * @return the Spec. * @since 1.1.1 */ public S localDirectoryExpression(Expression localDirectoryExpression) { this.target.setLocalDirectoryExpression(localDirectoryExpression); return _this(); }
/** * @param localFilenameExpression a SpEL expression to evaluate the local file name. * @return the Spec. * @since 1.1.1 */ public S localFilenameExpression(Expression localFilenameExpression) { this.target.setLocalFilenameGeneratorExpression(localFilenameExpression); return _this(); }
public S renameExpression(String expression) { this.target.setRenameExpressionString(expression); return _this(); }
public S localDirectory(File localDirectory) { this.target.setLocalDirectory(localDirectory); return _this(); }
public S localDirectory(File localDirectory) { this.target.setLocalDirectory(localDirectory); return _this(); }
public S options(String options) { this.target.setOptions(options); return _this(); }
public S temporaryFileSuffix(String temporaryFileSuffix) { this.target.setTemporaryFileSuffix(temporaryFileSuffix); return _this(); }
public S options(String options) { this.target.setOptions(options); return _this(); }
public S temporaryFileSuffix(String temporaryFileSuffix) { this.target.setTemporaryFileSuffix(temporaryFileSuffix); return _this(); }
public S renameExpression(String expression) { this.target.setRenameExpressionString(expression); return _this(); }
public S remoteFileSeparator(String remoteFileSeparator) { this.target.setRemoteFileSeparator(remoteFileSeparator); return _this(); }
public S autoCreateLocalDirectory(boolean autoCreateLocalDirectory) { this.target.setAutoCreateLocalDirectory(autoCreateLocalDirectory); return _this(); }
public S remoteFileSeparator(String remoteFileSeparator) { this.target.setRemoteFileSeparator(remoteFileSeparator); return _this(); }
public S autoCreateLocalDirectory(boolean autoCreateLocalDirectory) { this.target.setAutoCreateLocalDirectory(autoCreateLocalDirectory); return _this(); }
public S options(AbstractRemoteFileOutboundGateway.Option... options) { Assert.notNull(options, "'options' must not be null"); Assert.noNullElements(options, "'options' must not contain null elements"); StringBuilder optionsString = new StringBuilder(); for (AbstractRemoteFileOutboundGateway.Option option : options) { optionsString.append(option.getOption()).append(" "); } this.target.setOptions(optionsString.toString()); return _this(); }
public S options(AbstractRemoteFileOutboundGateway.Option... options) { Assert.notNull(options, "'options' must not be null"); Assert.noNullElements(options, "'options' must not contain null elements"); StringBuilder optionsString = new StringBuilder(); for (AbstractRemoteFileOutboundGateway.Option option : options) { optionsString.append(option.getOption()).append(" "); } this.target.setOptions(optionsString.toString()); return _this(); }