jetbrains.buildServer.serverSide.impl
Interface RemoteBuildType

All Superinterfaces:
BuildType, BuildTypeDescriptor, BuildTypeOptions, BuildTypeSettings, java.lang.Comparable<BuildTypeDescriptor>, CompatibleAgents, DependencySettings, Dependent, OptionSupport, ParametersSupport, ReadOnlyUserParameters, SBuildType, UserParametersHolder, VcsLabelingSettings, XmlExternalizable

public interface RemoteBuildType
extends SBuildType

Represents temporary created configuration to run personal changes for the specified configuration.


Nested Class Summary
 
Nested classes/interfaces inherited from interface jetbrains.buildServer.BuildTypeDescriptor
BuildTypeDescriptor.CheckoutType
 
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings
VcsLabelingSettings.LabelingType
 
Field Summary
 
Fields inherited from interface jetbrains.buildServer.serverSide.BuildTypeOptions
BT_ALLOW_EXTERNAL_STATUS, BT_BUILD_NUMBER_PATTERN, BT_CLEAN_BUILD, BT_EXECUTION_TIMEOUT, BT_FAIL_IF_TESTS_FAIL, BT_FAIL_ON_ANY_ERROR_MESSAGE, BT_FAIL_ON_EXIT_CODE, BT_FAIL_ON_OOME_OR_CRASH, BT_HANGING_BUILDS_DETECTION_ENABLED, BT_MAX_RUNNING_BUILDS, BT_SHOW_DEPS_CHANGES, DEFAULT_BUILD_NUMBER_PATTERN
 
Fields inherited from interface jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings
DEFAULT_LABEL_PATTERN
 
Method Summary
 void bindBuildInstanceById(long buildId)
          Assigns build instance with this personal configuration.
 long getChangesId()
          Personal changes id.
 BuildPromotion getPersonalBuildPromotion()
           
 SVcsModification getPersonalChange()
          Returns personal modification associated with this build configuration or null if data for this remote build is not available anymore This can happen, for example, when remote run was deleted.
 java.util.List<SVcsModification> getPersonalChanges()
          Returns personal modifications associated with this build configuration.
 long getPersonalId()
          Id of this temporary configuration.
 SBuildType getSourceBuildType()
          Source configuration for which changes were run.
 long getUserId()
          User id who ran the perosnal chanegs.
 
Methods inherited from interface jetbrains.buildServer.serverSide.SBuildType
addToQueue, addToQueue, attachToTemplate, detachFromTemplate, findBuildRunnerByType, forceCheckingForChanges, getAgentCompatibilities, getAgentCompatibility, getAgentsWhereBuildConfigurationBuilt, getArtifactsDirectory, getArtifactsReferences, getBuildNumbers, getCanRunAgents, getCanRunAndCompatibleAgents, getCustomDataStorage, getExecutionTimeoutMin, getExtendedName, getFileContent, getFilteredChanges, getHistory, getHistory, getHistory, getHistory, getHistoryFull, getLastChangesFinished, getLastChangesStartedBuild, getLastChangesSuccessfullyFinished, getLastFinished, getLastStartedBuild, getLastSuccessfullyFinished, getMaximumNumberOfBuilds, getModificationsSinceLastSuccessful, getNumberOfArtifactReferences, getOwnDependencies, getPauseComment, getPendingChanges, getPendingChangesCommitters, getProject, getQueuedBuilds, getResolvedSettings, getRunningBuilds, getRunningBuilds, getTags, getVcsRootInstanceEntries, getVcsRootInstanceForParent, getVcsRootInstances, getVcsSettingsHash, getVcsSettingsHash, isAllowExternalStatus, isCleanBuild, isShouldFailBuildIfTestsFailed, mapVcsPath, moveToProject, persist, releaseSources, releaseSources, setDescription, setName, setPaused, setPaused
 
Methods inherited from interface jetbrains.buildServer.BuildType
getBuildByBuildNumber, getBuildParameter, getBuildParameters, getNumberQueued, getParameters, getResponsibilityInfo, getStatus, getVcsRoots, isInQueue, removeResponsible, removeResponsible, setResponsible, setResponsible
 
Methods inherited from interface jetbrains.buildServer.BuildTypeDescriptor
getBuildTypeId, getCheckoutType, getDescription, getFullName, getName, getProjectId, getProjectName, getRunnerTypes, getRunType, isPaused, isPersonal
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface jetbrains.buildServer.serverSide.BuildTypeSettings
addBuildFeature, addBuildFeature, addBuildParameter, addBuildRunner, addBuildRunner, addBuildTrigger, addBuildTrigger, addConfigParameter, addRequirement, addRunParameter, addVcsRoot, applyRunnersOrder, clearRunParameters, containsVcsRoot, findBuildRunnerById, findRunnerParameter, findTriggerById, getArtifactDependencies, getArtifactPaths, getBuildFeatures, getBuildNumberPattern, getBuildParameter, getBuildParameters, getBuildParametersCollection, getBuildRunner, getBuildRunners, getBuildTriggersCollection, getCheckoutDirectory, getCheckoutRules, getCheckoutType, getConfigParameters, getConfigParametersCollection, getImplicitRequirements, getRequirements, getRunnerTypes, getRunParameter, getRunParameters, getRunParametersCollection, getRunType, getRunTypeRequirements, getTemplate, getTemplateId, getUndefinedParameters, getVcsRootEntries, getVcsRoots, isEnabled, isTemplateBased, removeAllBuildRunners, removeBuildFeature, removeBuildParameter, removeBuildRunner, removeBuildTrigger, removeConfigParameter, removeRequirement, removeVcsRoot, replaceInValues, setArtifactDependencies, setArtifactPaths, setBuildNumberPattern, setCheckoutDirectory, setCheckoutRules, setCheckoutType, setEnabled, setRunType, updateBuildFeature, updateBuildRunner, updateBuildTrigger
 
Methods inherited from interface jetbrains.buildServer.util.OptionSupport
getChangedOptions, getOption, setOption
 
Methods inherited from interface jetbrains.buildServer.serverSide.UserParametersHolder
addParameter, getParameters, getParametersCollection, removeParameter
 
Methods inherited from interface jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings
getLabelingRoots, getLabelingType, getLabelPattern, setLabelingRoots, setLabelingType, setLabelPattern
 
Methods inherited from interface jetbrains.buildServer.serverSide.CompatibleAgents
getAgentCompatibility, getCompatibilityMap, getCompatibleAgents
 
Methods inherited from interface jetbrains.buildServer.XmlExternalizable
writeTo
 
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.Dependent
getChildDependencies, getDependencyReferences, getNumberOfDependencyReferences, intersectsWith
 
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.DependencySettings
addDependency, getDependencies, removeDependency
 
Methods inherited from interface jetbrains.buildServer.serverSide.ParametersSupport
getParametersProvider, getValueResolver
 

Method Detail

getSourceBuildType

@NotNull
SBuildType getSourceBuildType()
Source configuration for which changes were run.

Returns:
source configuration.

getChangesId

long getChangesId()
Personal changes id.

Returns:
personal changes id.

getUserId

long getUserId()
User id who ran the perosnal chanegs.

Returns:
user id.

getPersonalId

long getPersonalId()
Id of this temporary configuration.

Returns:
temporary personal configuration id.

bindBuildInstanceById

void bindBuildInstanceById(long buildId)
Assigns build instance with this personal configuration.

Parameters:
buildId - personal build id.

getPersonalChange

@Nullable
SVcsModification getPersonalChange()
Returns personal modification associated with this build configuration or null if data for this remote build is not available anymore This can happen, for example, when remote run was deleted.

Returns:
see above
Since:
5.0

getPersonalChanges

java.util.List<SVcsModification> getPersonalChanges()
Returns personal modifications associated with this build configuration. The returned collection has size either 1 or 0.

Returns:
see above

getPersonalBuildPromotion

@Nullable
BuildPromotion getPersonalBuildPromotion()
Returns:
build promotion associated with personal build configuration
Since:
6.5