Interface IDirsDelegator
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
DirsDelegator,NtsServerImpl,OneShotServerImpl,RpcServer,Server
public interface IDirsDelegator
Interface for an implementation to handle dirs command.
-
Method Summary
Modifier and TypeMethodDescriptiongetDirectories(List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly) List any directories matching the passed-in file specifications and other options.getDirectories(List<IFileSpec> fileSpecs, GetDirectoriesOptions opts) List any directories matching the passed-in file specifications.
-
Method Details
-
getDirectories
List<IFileSpec> getDirectories(@Nonnull List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly) throws ConnectionException, AccessException List any directories matching the passed-in file specifications and other options.- Parameters:
fileSpecs- the file specsclientOnly- the client onlydeletedOnly- the deleted onlyhaveListOnly- the have list only- Returns:
- the directories
- Throws:
ConnectionException- the connection exceptionAccessException- the access exception
-
getDirectories
List<IFileSpec> getDirectories(List<IFileSpec> fileSpecs, GetDirectoriesOptions opts) throws P4JavaException List any directories matching the passed-in file specifications.- Parameters:
fileSpecs- non-null list of file specifications.opts- GetDirectoriesOptions object describing optional parameters; if null, no options are set.- Returns:
- non-null but possibly empty list of qualifying directory file specs; only the getPath() path will be valid.
- Throws:
P4JavaException- if any error occurs in the processing of this method.
-