Class ReposDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.ReposDelegator
- All Implemented Interfaces:
IReposDelegator
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReposDelegator
Instantiates a new repos delegator.- Parameters:
server- - an instance of the currently effective server implementaion
-
-
Method Details
-
getRepos
Gets the repos.- Specified by:
getReposin interfaceIReposDelegator- Returns:
- a list of repos
- Throws:
ConnectionException- the connection exceptionRequestException- the request exceptionAccessException- the access exception
-
getRepos
Get the repos with filter options- Specified by:
getReposin interfaceIReposDelegator- Parameters:
options- Repos filter options- Returns:
- a list of repos
- Throws:
P4JavaException- on error
-
getRepos
public List<IRepo> getRepos(@Nonnull String client) throws ConnectionException, RequestException, AccessException Gets the repos mapped within the client's view.- Specified by:
getReposin interfaceIReposDelegator- Parameters:
client- the name of the client workspace- Returns:
- a list of repos
- Throws:
ConnectionException- on errorRequestException- on errorAccessException- on error
-