Class ApprovableBuildChangesCollectionCondition
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.approval.ApprovableBuildChangesCollectionCondition
-
- All Implemented Interfaces:
ChangesCollectionCondition
,ServerExtension
,TeamCityExtension
public class ApprovableBuildChangesCollectionCondition extends Object implements ChangesCollectionCondition
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.serverSide.ChangesCollectionCondition
ChangesCollectionCondition.Result
-
-
Constructor Summary
Constructors Constructor Description ApprovableBuildChangesCollectionCondition(ApprovableBuildManager approvableBuildManager, UntrustedBuildsManager untrustedBuildsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangesCollectionCondition.Result
shouldCollectChangesNow(BuildPromotion buildPromotion)
Checks if changes can and should to be collected now or not.
-
-
-
Constructor Detail
-
ApprovableBuildChangesCollectionCondition
public ApprovableBuildChangesCollectionCondition(@NotNull ApprovableBuildManager approvableBuildManager, @NotNull UntrustedBuildsManager untrustedBuildsManager)
-
-
Method Detail
-
shouldCollectChangesNow
@NotNull public ChangesCollectionCondition.Result shouldCollectChangesNow(@NotNull BuildPromotion buildPromotion)
Description copied from interface:ChangesCollectionCondition
Checks if changes can and should to be collected now or not.- Specified by:
shouldCollectChangesNow
in interfaceChangesCollectionCondition
- Parameters:
buildPromotion
- to check- Returns:
Result.YES
if changes needs to be collected now,Result.NO
if changes can't be collected now but later,Result.UNKNOWN
if this extension can't decide
-
-