Interface WatchedBuildsEx

    • Method Detail

      • getAdditionalData

        @NotNull
        Map<String,​String> getAdditionalData()
        Returns map of additional filter values like branch filter, user changes filter, ... See UserRulesAwareNotificationListener for keys
        Returns:
      • setAdditionalData

        void setAdditionalData​(@NotNull
                               Map<String,​String> additionalData)
      • isWatchCommittedBuilds

        boolean isWatchCommittedBuilds()
      • isWatchFavoriteBuilds

        boolean isWatchFavoriteBuilds()
      • setWatchCommittedBuilds

        void setWatchCommittedBuilds​(boolean watchCommittedBuilds)
      • hasSelectedBuildTypes

        boolean hasSelectedBuildTypes()
        Returns:
        true if this WatchedBuilds is has at lease one watched build configuration. Is not affected by watched projects.
      • hasSelectedProjects

        boolean hasSelectedProjects()
        Returns:
        true if this WatchedBuilds is has at lease one watched project. Is not affected by watched build configurations.
      • isWatchAllProjects

        boolean isWatchAllProjects()
        Returns:
        true if this WatchedBuilds has Root project watched. Root project could be watched among with other projects and configurations.
      • addProjectToWatch

        void addProjectToWatch​(@NotNull
                               String projectId)
        Parameters:
        projectId -
        Throws:
        IllegalStateException - if this is WatchType.SYSTEM_WIDE WatchedBuilds
      • addBuildTypeToWatch

        void addBuildTypeToWatch​(@NotNull
                                 String buildTypeId)
        Parameters:
        buildTypeId -
        Throws:
        IllegalStateException - if this is WatchType.SYSTEM_WIDE WatchedBuilds
      • setUserId

        void setUserId​(long id)
        Sets the watcher id
        Parameters:
        id - the user id