Interface RunningBuildsCollection

    • Field Detail

      • TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY

        static final String TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY
        Regulates interval between updates of running builds collection
        See Also:
        Constant Field Values
      • TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY_DEFAULT

        static final int TEAMCITY_RUNNING_BUILDS_UPDATE_DELAY_DEFAULT
        Default interval between updates of running builds collection
        See Also:
        Constant Field Values
    • Method Detail

      • findRunningBuildById

        @Nullable
        RunningBuildEx findRunningBuildById​(long buildId)
        Searches for a running build by specified build id.
        Parameters:
        buildId - id of the build
        Returns:
        running build with specified build id or null if there are no running build with such build id.
      • getSize

        int getSize()
        Returns number of running builds
        Returns:
        number of running builds
        Since:
        2020.2