Class ConditionalBuildChainModifier
- java.lang.Object
-
- jetbrains.buildServer.serverSide.dependency.ConditionalBuildChainModifier
-
- All Implemented Interfaces:
ServerExtension
,VersionedSettingsFreezePostProcessor
,TeamCityExtension
,PositionAware
,PositionConstraintAware
public class ConditionalBuildChainModifier extends Object implements VersionedSettingsFreezePostProcessor, PositionAware
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_TYPE_TAGS_PARAM
static String
ONLY_TAGS_PARAM
static String
SKIP_TAGS_PARAM
-
Constructor Summary
Constructors Constructor Description ConditionalBuildChainModifier(BuildQueueEx buildQueue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PositionConstraint
getConstraint()
Constraint to be respected during objects sorting.String
getOrderId()
Returns object id that can be referenced by {PositionConstraint
}static Collection<String>
getPromotionTags(BuildPromotion promotion)
void
postProcess(Set<BuildPromotionEx> promotionsWithFrozenSettings)
-
-
-
Field Detail
-
BUILD_TYPE_TAGS_PARAM
public static final String BUILD_TYPE_TAGS_PARAM
- See Also:
- Constant Field Values
-
SKIP_TAGS_PARAM
public static final String SKIP_TAGS_PARAM
- See Also:
- Constant Field Values
-
ONLY_TAGS_PARAM
public static final String ONLY_TAGS_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConditionalBuildChainModifier
public ConditionalBuildChainModifier(@NotNull BuildQueueEx buildQueue)
-
-
Method Detail
-
postProcess
public void postProcess(@NotNull Set<BuildPromotionEx> promotionsWithFrozenSettings)
- Specified by:
postProcess
in interfaceVersionedSettingsFreezePostProcessor
-
getPromotionTags
public static Collection<String> getPromotionTags(@NotNull BuildPromotion promotion)
-
getOrderId
@NotNull public String getOrderId()
Description copied from interface:PositionAware
Returns object id that can be referenced by {PositionConstraint
}- Specified by:
getOrderId
in interfacePositionAware
- Returns:
- object id
-
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAware
Constraint to be respected during objects sorting.- Specified by:
getConstraint
in interfacePositionConstraintAware
- Returns:
- position constraint
-
-