Class BranchFilterTriggerHelper
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.BranchFilterTriggerHelper
-
public class BranchFilterTriggerHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BRANCH_FILTER_PARAM
-
Constructor Summary
Constructors Constructor Description BranchFilterTriggerHelper(BranchSpecsEx specs, String defaultBranchFilter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BranchEx>
getBranches(PolledTriggerContext context, Boolean includeBranchesFromDependencies, Logger contextLogger)
List<BranchEx>
getBranches(BuildTypeEx buildType, String rawFilter, Boolean includeBranchesFromDependencies, Logger contextLogger)
BranchFilter
getBranchFilter(BuildTriggerDescriptor btd)
String
getNormalizedBranchFilterAsString(BuildTriggerDescriptor btd)
static void
validateBranchFilter(String filterPropName, BranchSpecsEx branchSpecs, Map<String,String> properties, List<InvalidProperty> results)
static void
validateBranchFilter(BranchSpecsEx branchSpecs, Map<String,String> properties, List<InvalidProperty> results)
-
-
-
Field Detail
-
BRANCH_FILTER_PARAM
public static final String BRANCH_FILTER_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BranchFilterTriggerHelper
public BranchFilterTriggerHelper(@NotNull BranchSpecsEx specs, @NotNull String defaultBranchFilter)
-
-
Method Detail
-
getBranches
@NotNull public List<BranchEx> getBranches(@NotNull PolledTriggerContext context, @Nullable Boolean includeBranchesFromDependencies, @Nullable Logger contextLogger)
-
getBranches
@NotNull public List<BranchEx> getBranches(@NotNull BuildTypeEx buildType, @Nullable String rawFilter, @Nullable Boolean includeBranchesFromDependencies, @Nullable Logger contextLogger)
-
getBranchFilter
@NotNull public BranchFilter getBranchFilter(@NotNull BuildTriggerDescriptor btd)
-
getNormalizedBranchFilterAsString
@Nullable public String getNormalizedBranchFilterAsString(@NotNull BuildTriggerDescriptor btd)
-
validateBranchFilter
public static void validateBranchFilter(@NotNull BranchSpecsEx branchSpecs, @NotNull Map<String,String> properties, @NotNull List<InvalidProperty> results)
-
validateBranchFilter
public static void validateBranchFilter(@NotNull String filterPropName, @NotNull BranchSpecsEx branchSpecs, @NotNull Map<String,String> properties, @NotNull List<InvalidProperty> results)
-
-