Package jetbrains.buildServer.vcs
Interface ListDirectChildrenPolicy
-
- All Superinterfaces:
ListFilesPolicy,VcsExtension
public interface ListDirectChildrenPolicy extends ListFilesPolicy
Policy that lists only direct children of specified directory- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<VcsFileData>listFiles(VcsRoot root, String directoryPath)Returns list of files in the specified directory of the specified VCS root
-
-
-
Method Detail
-
listFiles
@NotNull Collection<VcsFileData> listFiles(@NotNull VcsRoot root, @NotNull String directoryPath) throws VcsException
Returns list of files in the specified directory of the specified VCS root- Parameters:
root- VCS root of interestdirectoryPath- path to directory in which files should be listed- Returns:
- see above
- Throws:
VcsException- in case of any error, when specified directory doesn't exist or specified path doesn't point to directory
-
-