Interface PersonalBuildManagerEx

    • Method Detail

      • publishEmptyChangeList

        long publishEmptyChangeList​(@NotNull
                                    User user)
      • deleteIfScheduledForDeletion

        void deleteIfScheduledForDeletion​(SBuild build)
        Deletes personal build if it was marked for deletion.
        Parameters:
        build - build to delete
      • storePersonalChangeRelativePath

        void storePersonalChangeRelativePath​(String path,
                                             String relativePath,
                                             long buildId)
      • addRemoteRunsToQueue

        @NotNull
        List<SQueuedBuild> addRemoteRunsToQueue​(@NotNull
                                                Map<BuildType,​SAgentRestrictor> buildTypeAgentMap,
                                                long changeListId,
                                                String comment)
        Creates personal builds for the specified build configurations and adds them into the queue on the corresponding agents. Note that if in the chains there are several personal builds to be created for the same build configuration these builds will be merged to one build.
        Parameters:
        buildTypeAgentRestrictorMap - build configuration to agent restrictor map
        changeListId - personal change id
        comment - comment
        Returns:
        list of personal builds added to the queue
        Since:
        4.5
      • performAction

        void performAction​(long changeListId,
                           @NotNull
                           Runnable action)
      • removeChangeIfEmpty

        void removeChangeIfEmpty​(long changeId)
      • isProcessingChangeFile

        boolean isProcessingChangeFile​(@NotNull
                                       File file)
        Parameters:
        file - change file to check
        Returns:
        whether change file is created by manager, yet not registered in database
        Since:
        2017.2.2
      • getModification

        @Nullable
        SVcsModification getModification​(long changesId,
                                         boolean resolveCommitDecision)
      • isEmptyPersonalPatch

        boolean isEmptyPersonalPatch​(long changeId)