public class DirsDelegator extends BaseDelegator implements IDirsDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
DirsDelegator(IOptionsServer server)
Instantiates a new dirs delegator.
|
| Modifier and Type | Method and Description |
|---|---|
List<IFileSpec> |
getDirectories(List<IFileSpec> fileSpecs,
boolean clientOnly,
boolean deletedOnly,
boolean haveListOnly)
List any directories matching the passed-in file specifications
and other options.
|
List<IFileSpec> |
getDirectories(List<IFileSpec> fileSpecs,
GetDirectoriesOptions opts)
List any directories matching the passed-in file specifications.
|
public DirsDelegator(IOptionsServer server)
server - the serverpublic List<IFileSpec> getDirectories(@Nonnull List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly) throws ConnectionException, AccessException
IDirsDelegatorgetDirectories in interface IDirsDelegatorfileSpecs - the file specsclientOnly - the client onlydeletedOnly - the deleted onlyhaveListOnly - the have list onlyConnectionException - the connection exceptionAccessException - the access exceptionpublic List<IFileSpec> getDirectories(List<IFileSpec> fileSpecs, GetDirectoriesOptions opts) throws P4JavaException
IDirsDelegatorgetDirectories in interface IDirsDelegatorfileSpecs - non-null list of file specifications.opts - GetDirectoriesOptions object describing optional parameters;
if null, no options are set.P4JavaException - if any error occurs in the processing of this method.Copyright © 2017 Perforce Software. All Rights Reserved.