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.ResultshouldCollectChangesNow(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:ChangesCollectionConditionChecks if changes can and should to be collected now or not.- Specified by:
 shouldCollectChangesNowin interfaceChangesCollectionCondition- Parameters:
 buildPromotion- to check- Returns:
 Result.YESif changes needs to be collected now,Result.NOif changes can't be collected now but later,Result.UNKNOWNif this extension can't decide
 
 - 
 
 -