public interface IBranchesDelegator
Modifier and Type | Method and Description |
---|---|
java.util.List<IBranchSpecSummary> |
getBranchSpecs(GetBranchSpecsOptions opts)
Get a list of all summary Perforce branch specs known to the Perforce
server.
|
java.util.List<IBranchSpecSummary> |
getBranchSpecs(java.lang.String userName,
java.lang.String nameFilter,
int maxReturns)
Old style getBranchSpecs api call.
|
java.util.List<IBranchSpecSummary> getBranchSpecs(GetBranchSpecsOptions opts) throws P4JavaException
Note 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.
opts
- object describing optional parameters; if null, no options are
set.P4JavaException
- if any error occurs in the processing of this method.java.util.List<IBranchSpecSummary> getBranchSpecs(java.lang.String userName, java.lang.String nameFilter, int maxReturns) throws ConnectionException, RequestException, AccessException
userName
- user namenameFilter
- name filtermaxReturns
- maximum resultsConnectionException
- connection errorsRequestException
- server request errorsAccessException
- access restrictions