Interface BranchSpecsEx

    • 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 settings
        attributeFiltersAllowed - 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