Interface IStatDelegator

    • Method Detail

      • getStreamIntegrationStatus

        IStreamIntegrationStatus getStreamIntegrationStatus​(java.lang.String stream,
                                                            StreamIntegrationStatusOptions opts)
                                                     throws P4JavaException
        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'.)

        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.
        Since:
        2011.2