/** * @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(); }
public S localDirectoryExpression(String localDirectoryExpression) { return localDirectoryExpression(PARSER.parseExpression(localDirectoryExpression)); }
public <P> S localFilename(Function<Message<P>, String> localFilenameFunction) { return localFilenameExpression(new FunctionExpression<Message<P>>(localFilenameFunction)); }
public S patternMputFilter(String pattern) { return mputFilter(new SimplePatternFileListFilter(pattern)); }
public S regexMpuFilter(String regex) { return mputFilter(new RegexPatternFileListFilter(regex)); }
/** * @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 localDirectoryExpression(String localDirectoryExpression) { return localDirectoryExpression(PARSER.parseExpression(localDirectoryExpression)); }
public S patternMputFilter(String pattern) { return mputFilter(new SimplePatternFileListFilter(pattern)); }
public S localFilenameExpression(String localFilenameExpression) { return localFilenameExpression(PARSER.parseExpression(localFilenameExpression)); }
/** * 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(); }
public <P> S localDirectory(Function<Message<P>, String> localDirectoryFunction) { return localDirectoryExpression(new FunctionExpression<Message<P>>(localDirectoryFunction)); }
public S regexMpuFilter(String regex) { return mputFilter(new RegexPatternFileListFilter(regex)); }
public S localFilenameExpression(String localFilenameExpression) { return localFilenameExpression(PARSER.parseExpression(localFilenameExpression)); }
/** * @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 <P> S localDirectory(Function<Message<P>, String> localDirectoryFunction) { return localDirectoryExpression(new FunctionExpression<Message<P>>(localDirectoryFunction)); }
public <P> S localFilename(Function<Message<P>, String> localFilenameFunction) { return localFilenameExpression(new FunctionExpression<Message<P>>(localFilenameFunction)); }
/** * @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(); }
public S options(String options) { this.target.setOptions(options); return _this(); }
public S temporaryFileSuffix(String temporaryFileSuffix) { this.target.setTemporaryFileSuffix(temporaryFileSuffix); 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(); }