Class BranchesDelegator

    • Constructor Detail

      • BranchesDelegator

        public BranchesDelegator​(IOptionsServer server)
        Build a new VerifyDelegtor object and keep the server object for

        using in the command processing.

        Parameters:
        server - - the currently effective server implementation
    • Method Detail

      • getBranchSpecs

        public java.util.List<IBranchSpecSummary> getBranchSpecs​(GetBranchSpecsOptions opts)
                                                          throws P4JavaException
        Description copied from interface: IBranchesDelegator
        Get a list of all summary Perforce branch specs known to the Perforce server.

        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.

        Specified by:
        getBranchSpecs in interface IBranchesDelegator
        Parameters:
        opts - object describing optional parameters; if null, no options are set.
        Returns:
        non-null (but possibly-empty) list of IBranchSpecSummary objects.
        Throws:
        P4JavaException - if any error occurs in the processing of this method.