Interface TriggerRules
-
- All Known Implementing Classes:
TriggerRulesImpl
public interface TriggerRules
Represents set of trigger rules defined as properties ofBuildTriggerDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getUsedVcsRootsIds()
Each Trigger rule can reference to VCS root by its external id.boolean
isIncludeAll()
boolean
shouldInclude(SVcsModification modification, Collection<CheckoutRules> allCheckoutRules)
Checks if the given modification should be included for given set of checkout rules
-
-
-
Method Detail
-
getUsedVcsRootsIds
Set<String> getUsedVcsRootsIds()
Each Trigger rule can reference to VCS root by its external id. This method collects and returns ids of all VCS roots that are used in the whole set of rules.
-
isIncludeAll
boolean isIncludeAll()
- Returns:
- true if rules include all changes
-
shouldInclude
boolean shouldInclude(@NotNull SVcsModification modification, @NotNull Collection<CheckoutRules> allCheckoutRules)
Checks if the given modification should be included for given set of checkout rules- Parameters:
modification
- modification of interestallCheckoutRules
- checkout rules- Returns:
- see above
-
-