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 |
---|---|
java.util.List<IRepo> |
getRepos()
Gets the repos.
|
java.util.List<IRepo> |
getRepos(ReposOptions options)
Get the repos with filter options
|
java.util.List<IRepo> |
getRepos(java.lang.String client)
Gets the repos mapped within the client's view.
|
public ReposDelegator(IOptionsServer server)
server
- - an instance of the currently effective server implementaionpublic java.util.List<IRepo> getRepos() throws ConnectionException, RequestException, AccessException
getRepos
in interface IReposDelegator
ConnectionException
- the connection exceptionRequestException
- the request exceptionAccessException
- the access exceptionpublic java.util.List<IRepo> getRepos(ReposOptions options) throws P4JavaException
getRepos
in interface IReposDelegator
options
- Repos filter optionsP4JavaException
- on errorpublic java.util.List<IRepo> getRepos(@Nonnull java.lang.String client) throws ConnectionException, RequestException, AccessException
getRepos
in interface IReposDelegator
client
- the name of the client workspaceConnectionException
- on errorRequestException
- on errorAccessException
- on error