Interface BranchFilter

  • All Superinterfaces:
    Filter<Branch>
    All Known Implementing Classes:
    BranchFilterImpl

    public interface BranchFilter
    extends Filter<Branch>
    Created 19.08.13 17:23
    Author:
    Eugene Petrenko (eugene.petrenko@jetbrains.com)
    • Method Detail

      • accept

        boolean accept​(@NotNull
                       Branch branch)
        Description copied from interface: Filter
        Determines whether the given data satisfies implementation specific criteria.
        Specified by:
        accept in interface Filter<Branch>
        Parameters:
        branch - the data being assessed
        Returns:
        true if data satisfies the criteria. False otherwise.
      • acceptsAttributes

        default boolean acceptsAttributes()
        Returns:
        true if attributes are used in this filter(e.g. +pr: target=master)
        Since:
        2024.3
      • getAttributeProviderIds

        default Set<String> getAttributeProviderIds()
        Returns:
        a set of attribute provider ids for the filter(e.g. returns ["pr"] for filter +pr: target=master)
        Since:
        2024.3