com.atlassian.sal.core.search
Class BasicSearchMatch

java.lang.Object
  extended by com.atlassian.sal.core.search.BasicSearchMatch
All Implemented Interfaces:
SearchMatch

public class BasicSearchMatch
extends Object
implements SearchMatch

Simplest implementation of a searchMatch.


Constructor Summary
BasicSearchMatch(String url, String title, String excerpt, ResourceType resourceType)
           
 
Method Summary
 String getExcerpt()
           
 ResourceType getResourceType()
           
 String getTitle()
           
 String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSearchMatch

public BasicSearchMatch(String url,
                        String title,
                        String excerpt,
                        ResourceType resourceType)
Method Detail

getUrl

public String getUrl()
Specified by:
getUrl in interface SearchMatch

getTitle

public String getTitle()
Specified by:
getTitle in interface SearchMatch

getExcerpt

public String getExcerpt()
Specified by:
getExcerpt in interface SearchMatch

getResourceType

public ResourceType getResourceType()
Specified by:
getResourceType in interface SearchMatch


Copyright © 2011 Atlassian. All Rights Reserved.