Interface BranchSpecsEx
-
- All Superinterfaces:
BranchSpecs
- All Known Implementing Classes:
BranchSpecsImpl
public interface BranchSpecsEx extends BranchSpecs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BranchFilterContext
precalculateForFiltering(SBuildType buildType, BranchFilter filter)
Should be used if multiple branches are supposed to be filteredString
validateBranchFilterProperty(String filterValue, boolean attributeFiltersAllowed)
-
Methods inherited from interface jetbrains.buildServer.vcs.spec.BranchSpecs
createDefault, createFilter, createFilter, createFilter, parse, validate, validate, validate
-
-
-
-
Method Detail
-
precalculateForFiltering
@Nullable BranchFilterContext precalculateForFiltering(@NotNull SBuildType buildType, @NotNull BranchFilter filter)
Should be used if multiple branches are supposed to be filtered- Returns:
- context for further branch filtering, or null if the context is not needed
- Since:
- 2024.3
-
validateBranchFilterProperty
@Nullable String validateBranchFilterProperty(@Nullable String filterValue, boolean attributeFiltersAllowed)
- Parameters:
filterValue
- a branch filter value used in some settingsattributeFiltersAllowed
- true if attribute filters are allowed in the settings they are used in- Returns:
- error as string if the provided branch filter value is incorrect, always returns null if parameter references are used
-
-