com.atlassian.user.search.query.match
Interface Matcher


public interface Matcher

An interface for matching the contents of a string against a search term. Implements will describe the situations in which they match.


Method Summary
 boolean matches(java.lang.String content, java.lang.String searchTerm)
          Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation.
 

Method Detail

matches

boolean matches(java.lang.String content,
                java.lang.String searchTerm)
Returns true if the content "matches" the searchTerm, according to the matching rules of the implementation.

Parameters:
content - the content to search
searchTerm - the term to search for
Returns:
true if the content matches the search term, according to the matching rules of the implementation, otherwise false.


Copyright © 2005-2015 Atlassian. All Rights Reserved.