jetbrains.buildServer.serverSide
Interface BuildPromotionOwner

All Known Subinterfaces:
SBuild, SFinishedBuild, SQueuedBuild, SRunningBuild

public interface BuildPromotionOwner

Holds a build promotion.


Method Summary
 BuildPromotion getBuildPromotion()
          Returns build promotion
 SBuild 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, returns BuildPromotion.getAssociatedBuild()

Returns:
sequence build for the same changes as for associated build promotion, or null if there are no such a build