Package org.opennms.netmgt.search.api
Class SearchContext
- java.lang.Object
-
- org.opennms.netmgt.search.api.SearchContext
-
public class SearchContext extends Object
The search results are grouped by context. In order to visualize it accordingly each context must have a name and weight.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description SearchContext(String name)
SearchContext(String name, int weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contributesTo(String contextName)
boolean
equals(Object o)
String
getName()
int
getWeight()
int
hashCode()
-