Package jetbrains.buildServer.serverSide
Interface BuildPromotionOwner
-
- All Known Subinterfaces:
SBuild
,SFinishedBuild
,SQueuedBuild
,SRunningBuild
public interface BuildPromotionOwner
Holds a build promotion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildPromotion
getBuildPromotion()
Returns build promotionSBuild
getSequenceBuild()
If associated build promotion has modification id, returns the sequence build which contains the same changes as this build promotion.
-
-
-
Method Detail
-
getBuildPromotion
@NotNull BuildPromotion getBuildPromotion()
Returns build promotion- Returns:
- see above.
-
getSequenceBuild
@Nullable SBuild getSequenceBuild()
If associated build promotion has modification id, returns the sequence build which contains the same changes as this build promotion. I.e. returns the first build, which contains all the changes from associated build promotion. If associated build promotion already in changes sequence, returnsBuildPromotion.getAssociatedBuild()
- Returns:
- sequence build for the same changes as for associated build promotion, or null if there are no such a build
-
-