Class StatDelegator

    • Constructor Detail

      • StatDelegator

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

      • getStreamIntegrationStatus

        public IStreamIntegrationStatus getStreamIntegrationStatus​(java.lang.String stream,
                                                                   StreamIntegrationStatusOptions opts)
                                                            throws P4JavaException
        Description copied from interface: IStatDelegator
        Get a stream's cached integration status with respect to its parent. If the cache is stale, either because newer changes have been submitted or the stream's branch view has changed, 'p4 istat' checks for pending integrations and updates the cache before showing status.

        Pending integrations are shown only if they are expected by the stream; that is, only if they are warranted by the stream's type and its fromParent/toParent flow options. (See 'p4 help stream'.)

        Specified by:
        getStreamIntegrationStatus in interface IStatDelegator
        Parameters:
        stream - the stream's path in a stream depot, of the form //depotname/streamname.
        opts - StreamIntegrationStatusOptions object describing optional parameters; if null, no options are set.
        Returns:
        potentially-null IStreamIntegrationStatus object representing the stream's cached integration status with respect to its parent.
        Throws:
        P4JavaException - if an error occurs processing this method and its parameters.