Package org.metricshub.winrm
Class RemoteFileList
java.lang.Object
org.metricshub.winrm.RemoteFileList
The result of
RemoteDirectoryListing.execute(): the matching entries, and the
directories that could not be read.-
Method Summary
Modifier and TypeMethodDescriptionentries()Get the matching entries, in the order the host walked them: the entries of a directory together, depth-first.Get the directories that could not be read (typically access denied): their content is missing fromentries(), while the walk went on elsewhere.toString()
-
Method Details
-
entries
Get the matching entries, in the order the host walked them: the entries of a directory together, depth-first.- Returns:
- an unmodifiable list, empty for an empty directory or when nothing matches
-
inaccessible
Get the directories that could not be read (typically access denied): their content is missing fromentries(), while the walk went on elsewhere.- Returns:
- an unmodifiable list of paths, empty when the whole tree was read
-
toString
-