Uses of Class
org.metricshub.winrm.RemoteDirectoryListing
Packages that use RemoteDirectoryListing
-
Uses of RemoteDirectoryListing in org.metricshub.winrm
Methods in org.metricshub.winrm that return RemoteDirectoryListingModifier and TypeMethodDescriptionRemoteDirectoryListing.directoriesOnly()Report directories only.RemoteDirectoryListing.filesOnly()Report files only (directories are still traversed withrecursive()).Report only the entries whose name (not path) matches the given Windows wildcard pattern:*matches any sequence of characters (including none),?exactly one character, and every other character only itself, case-insensitively.RemoteFile.list()RemoteDirectoryListing.maxDepth(int maxDepth) List recursively, down to the given depth: 1 is the directory's own entries (the same as a non-recursive listing), 2 adds the entries of its subdirectories, and so on.RemoteDirectoryListing.maxSize(long bytes) Report only the files of at most the given size.RemoteDirectoryListing.minSize(long bytes) Report only the files of at least the given size.RemoteDirectoryListing.modifiedAfter(Instant instant) Report only the entries last modified strictly after the given instant.RemoteDirectoryListing.modifiedBefore(Instant instant) Report only the entries last modified strictly before the given instant.RemoteDirectoryListing.onInaccessible(Consumer<String> consumer) Be told of each directory that could not be read (typically access denied): its path is given to the consumer as soon as the host reports it, and the walk goes on.RemoteDirectoryListing.recursive()List the whole tree below the directory instead of its own entries only, depth-first.Override the client's timeout for this request.