Interface BuildTriggersPreprocessor
- 
- All Superinterfaces:
 ServerExtension,TeamCityExtension
public interface BuildTriggersPreprocessor extends ServerExtension
This extension can be used to apply some custom pre-processing to build triggers before they are called. One of the applications of this extension is to pause some triggers based on a custom condition. Note: since all of the triggers are processed sequentially, each extension should work as fast as possible.- Since:
 - 2020.2.1
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanpreprocess(PolledTriggerContext context)Accepts trigger with its context and does some pre-processing. 
 - 
 
- 
- 
Method Detail
- 
preprocess
boolean preprocess(@NotNull PolledTriggerContext context)Accepts trigger with its context and does some pre-processing. Returns true if trigger should be called and false if trigger should be skipped. If trigger is skipped, it's previous call timestamp will not be updated.- Parameters:
 context- trigger context- Returns:
 - see above
 
 
 - 
 
 -