Class IntegratedDelegator

    • Constructor Detail

      • IntegratedDelegator

        public IntegratedDelegator​(IOptionsServer server)
        Instantiates a new integrated delegator.
        Parameters:
        server - the server
    • Method Detail

      • getSubmittedIntegrations

        public java.util.List<IFileSpec> getSubmittedIntegrations​(java.util.List<IFileSpec> fileSpecs,
                                                                  java.lang.String branchSpec,
                                                                  boolean reverseMappings)
                                                           throws ConnectionException,
                                                                  RequestException,
                                                                  AccessException
        Description copied from interface: IIntegratedDelegator
        Get a list of submitted integrations for the passed-in filespecs.
        Specified by:
        getSubmittedIntegrations in interface IIntegratedDelegator
        Parameters:
        fileSpecs - if null or ommitted, all qualifying depot files are used.
        branchSpec - if non-null, only files integrated from the source to target files in the branch view are shown. Qualified files are displayed even if they were integrated without using the branch view itself.
        reverseMappings - if true,reverses the mappings in the branch view, with the target files and source files exchanging place. This requires the branchSpec to be non-null.
        Returns:
        a non-null but possibly empty list of IFileSpec representing qualifying integrations.
        Throws:
        ConnectionException - if the Perforce server is unreachable or is not connected.
        RequestException - if the Perforce server encounters an error during its processing of the request
        AccessException - if the Perforce server denies access to the caller
      • getSubmittedIntegrations

        public java.util.List<IFileSpec> getSubmittedIntegrations​(java.util.List<IFileSpec> fileSpecs,
                                                                  GetSubmittedIntegrationsOptions opts)
                                                           throws P4JavaException
        Description copied from interface: IIntegratedDelegator
        Get a list of submitted integrations for the passed-in filespecs.
        Specified by:
        getSubmittedIntegrations in interface IIntegratedDelegator
        Parameters:
        fileSpecs - if null or omitted, all qualifying depot files are used.
        opts - GetSubmittedIntegrations object describing optional parameters; if null, no options are set.
        Returns:
        a non-null but possibly empty list of IFileSpec representing qualifying integrations.
        Throws:
        P4JavaException - if an error occurs processing this method and its parameters.