public interface SFinishedBuild extends SBuild
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getFinishDate()
Returns finish timestamp for the build.
|
Comment |
getPinComment()
Returns the pin/unpin comment
|
void |
setLabel(java.lang.String labelValue,
java.util.List<VcsRootInstance> rootsToLabel)
Sets a label on files in VCS repository used by this build in the specified VCS roots
|
void |
setPinned(boolean pinned)
Deprecated.
|
void |
setPinned(boolean pinned,
User user,
java.lang.String comment)
Sets pin status for this build.
|
addBuildProblem, addUserBuildProblem, convertToAgentTime, convertToServerTime, getAgent, getArtifactDependencies, getArtifacts, getArtifactsDirectory, getBranch, getBuildComment, getBuildDescription, getBuildFeaturesOfType, getBuildLog, getBuildOwnParameters, getBuildStatistics, getBuildType, getChanges, getClientStartDate, getClientTimeZone, getCommitters, getContainingChanges, getDownloadedArtifacts, getFailureReasons, getFileContent, getFirstInternalError, getFirstInternalErrorMessage, getFullStatistics, getLabels, getOwner, getPreviousFinished, getProvidedArtifacts, getQueuedDate, getRawBuildNumber, getRecentlyFinishedBuild, getRelatedIssues, getRevisions, getServerStartDate, getShortStatistics, getStatisticValue, getStatisticValues, getTags, getTriggeredBy, getValueResolver, getVcsRootEntries, hasBuildProblemOfType, isAgentLessBuild, isArtifactsExists, isCompositeBuild, isHasInternalArtifactsOnly, isHasRelatedIssues, isInternalError, isOutdated, isOutOfChangesSequence, isPinned, isResponsibleNeeded, isStartedOnAgent, isUsedByOtherBuilds, muteBuildProblems, setBuildComment, setTags, setTagsgetAgentName, getBuildId, getBuildNumber, getBuildStatus, getBuildTypeExternalId, getBuildTypeId, getBuildTypeName, getCanceledInfo, getCompilationErrorMessages, getDuration, getFullName, getLogMessages, getProjectExternalId, getProjectId, getStartDate, getStatusDescriptor, getTestMessages, isFinished, isPersonalgetBuildPromotion, getSequenceBuildgetParametersProvidervoid setPinned(boolean pinned,
@Nullable
User user,
@Nullable
java.lang.String comment)
pinned - whether to pin build or not.user - user who pins/unpins buildcomment - comment@Deprecated void setPinned(boolean pinned)
setPinned(boolean, jetbrains.buildServer.users.User, String) methodpinned - whether to pin build or not.@Nullable Comment getPinComment()
void setLabel(java.lang.String labelValue,
java.util.List<VcsRootInstance> rootsToLabel)
throws VcsException
labelValue - label to setrootsToLabel - VCS roots to labelVcsException - if labeling failed@NotNull java.util.Date getFinishDate()
getFinishDate in interface Build