public interface ListCommand<A extends FileAttributes>
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher)
Deprecated.
|
default List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> |
list(FileConnectorConfig config,
String directoryPath,
boolean recursive,
Predicate<A> matcher,
Long timeBetweenSizeCheck)
Lists files under the considerations of
FileSystem.list(FileConnectorConfig, String, boolean, Predicate) |
@Deprecated List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> list(FileConnectorConfig config, String directoryPath, boolean recursive, Predicate<A> matcher)
FileSystem.list(FileConnectorConfig, String, boolean, Predicate)config - the config that is parameterizing this operationdirectoryPath - the path to the directory to be listedrecursive - whether to include the contents of sub-directoriesmatcher - a Predicate of FileAttributes used to filter the output listList of Result objects each one containing each file's content in the payload and metadata in the attributesIllegalArgumentException - if directoryPath points to a file which doesn't exist or is not a directorydefault List<org.mule.runtime.extension.api.runtime.operation.Result<InputStream,A>> list(FileConnectorConfig config, String directoryPath, boolean recursive, Predicate<A> matcher, Long timeBetweenSizeCheck)
FileSystem.list(FileConnectorConfig, String, boolean, Predicate)config - the config that is parameterizing this operationdirectoryPath - the path to the directory to be listedrecursive - whether to include the contents of sub-directoriesmatcher - a Predicate of FileAttributes used to filter the output listtimeBetweenSizeCheck - wait time between size checks to determine if a file is ready to be read in milliseconds.List of Result objects each one containing each file's content in the payload and metadata in the
attributesIllegalArgumentException - if directoryPath points to a file which doesn't exist or is not a directoryCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.