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 java.util.Collection<VcsFileData>
listFiles(VcsRoot root, java.lang.String directoryPath)
Returns list of files in the specified directory of the specified VCS root
-
-
-
Method Detail
-
listFiles
@NotNull java.util.Collection<VcsFileData> listFiles(@NotNull VcsRoot root, @NotNull java.lang.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
-
-