jetbrains.buildServer.util.filters
Interface Filter<T>

Type Parameters:
T - type of the filtered elements
All Known Subinterfaces:
AgentRestrictor, BuildDataFilter, BuildTypeFilter
All Known Implementing Classes:
AggregatedFilter

public interface Filter<T>

A common interface for filtering data.

Author:
Sergey.Anchipolevsky Date: 20.08.2007

Method Summary
 boolean accept(T data)
          Determines whether the given data satisfies implementation specific criteria.
 

Method Detail

accept

boolean accept(@NotNull
               T data)
Determines whether the given data satisfies implementation specific criteria.

Parameters:
data - the data being assessed
Returns:
true if data satisfies the criteria. False otherwise.