Interface PersonalBuildManagerEx
-
- All Superinterfaces:
PersonalBuildManager
- All Known Implementing Classes:
PersonalBuildManagerImpl
,SecuredPersonalBuildManager
public interface PersonalBuildManagerEx extends PersonalBuildManager
- Author:
- Sergey.Anchipolevsky Date: 25.06.2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SQueuedBuild>
addRemoteRunsToQueue(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.void
buildEmptyPatch(OutputStream agentOutput, SRunningBuild runningBuild)
void
buildPatch(OutputStream agentOutput, SRunningBuild runningBuild, SBuildType buildType, PatchMapLogger patchLogger)
void
buildPersonalPatch(OutputStream agentOutput, SRunningBuild runningBuild, long personalChangeId, PatchMapLogger patchLogger)
void
deleteIfScheduledForDeletion(SBuild build)
Deletes personal build if it was marked for deletion.SVcsModification
getModification(long changesId, boolean resolveCommitDecision)
Collection<String>
getPersonalModificationBuildTypeIds(VcsModification mod)
boolean
isEmptyPersonalPatch(long changeId)
boolean
isProcessingChangeFile(File file)
void
performAction(long changeListId, Runnable action)
long
publishEmptyChangeList(User user)
void
removeChangeIfEmpty(long changeId)
void
storePersonalChangeRelativePath(String path, String relativePath, long buildId)
-
Methods inherited from interface jetbrains.buildServer.serverSide.PersonalBuildManager
addRemoteRunToQueue, addRemoteRunToQueue, applyAndGetContent, findBuildPromotionsByChangesId, findBuildPromotionsByUserId, getContent, getCurrentRepositoryContentForPersonallyChangedFile, getModification, getModifications, getPersonalChangeInfo, getPersonalChangeRelativeFilePath, isApplicable, isApplicable, isApplicable, isRelated, publishChangeList, publishChangeList, schedulePersonalChangeForDeletion, setDescription, setPersonalChangeStatus
-
-
-
-
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
-
getPersonalModificationBuildTypeIds
@NotNull Collection<String> getPersonalModificationBuildTypeIds(@NotNull VcsModification mod)
-
buildPatch
void buildPatch(OutputStream agentOutput, SRunningBuild runningBuild, SBuildType buildType, PatchMapLogger patchLogger) throws IOException
- Throws:
IOException
-
buildPersonalPatch
void buildPersonalPatch(OutputStream agentOutput, SRunningBuild runningBuild, long personalChangeId, PatchMapLogger patchLogger) throws IOException
- Throws:
IOException
-
buildEmptyPatch
void buildEmptyPatch(@NotNull OutputStream agentOutput, @NotNull SRunningBuild runningBuild) throws IOException
- Throws:
IOException
-
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 mapchangeListId
- personal change idcomment
- 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)
-
-