public class ReposDelegator extends BaseDelegator implements IReposDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
ReposDelegator(IOptionsServer server)
Instantiates a new repos delegator.
|
| Modifier and Type | Method and Description |
|---|---|
List<IRepo> |
getRepos()
Gets the repos.
|
List<IRepo> |
getRepos(ReposOptions options)
Get the repos with filter options
|
List<IRepo> |
getRepos(String client)
Gets the repos mapped within the client's view.
|
public ReposDelegator(IOptionsServer server)
server - - an instance of the currently effective server implementaionpublic List<IRepo> getRepos() throws ConnectionException, RequestException, AccessException
getRepos in interface IReposDelegatorConnectionException - the connection exceptionRequestException - the request exceptionAccessException - the access exceptionpublic List<IRepo> getRepos(ReposOptions options) throws P4JavaException
getRepos in interface IReposDelegatoroptions - Repos filter optionsP4JavaExceptionpublic List<IRepo> getRepos(@Nonnull String client) throws ConnectionException, RequestException, AccessException
getRepos in interface IReposDelegatorclient - the name of the client workspaceConnectionExceptionRequestExceptionAccessExceptionCopyright © 2017 Perforce Software. All Rights Reserved.