public class BranchesDelegator extends BaseDelegator implements IBranchesDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
BranchesDelegator(IOptionsServer server)
Build a new VerifyDelegtor object and keep the server object for
|
| Modifier and Type | Method and Description |
|---|---|
List<IBranchSpecSummary> |
getBranchSpecs(GetBranchSpecsOptions opts)
Get a list of all summary Perforce branch specs known to the Perforce
server.
|
List<IBranchSpecSummary> |
getBranchSpecs(String userName,
String nameFilter,
int maxReturns)
Old style getBranchSpecs api call.
|
public BranchesDelegator(IOptionsServer server)
using in the command processing.
server - - the currently effective server implementationpublic List<IBranchSpecSummary> getBranchSpecs(GetBranchSpecsOptions opts) throws P4JavaException
IBranchesDelegatorNote that the IBranchSpecSummary objects returned here do not have branch view specs; you must call the getBranchSpec method on a specific branch to get valid view specs for a branch.
getBranchSpecs in interface IBranchesDelegatoropts - object describing optional parameters; if null, no options are
set.P4JavaException - if any error occurs in the processing of this method.public List<IBranchSpecSummary> getBranchSpecs(String userName, String nameFilter, int maxReturns) throws ConnectionException, RequestException, AccessException
IBranchesDelegatorgetBranchSpecs in interface IBranchesDelegatorConnectionExceptionRequestExceptionAccessExceptionCopyright © 2017 Perforce Software. All Rights Reserved.