Class ContentNameSearchSection
- java.lang.Object
-
- com.atlassian.confluence.search.contentnames.ContentNameSearchSection
-
public class ContentNameSearchSection extends Object
Defines a section in the results of the quick nav dropdown. The weight is used to position the section relative to the other sections where a weight of zero means the section would be on top.
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ContentNameSearchSection>
COMPARATOR
-
Constructor Summary
Constructors Constructor Description ContentNameSearchSection(@NonNull Integer weight, @NonNull List<ContentNameMatch> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContentNameMatch>
getResults()
Integer
getWeight()
-
-
-
Field Detail
-
COMPARATOR
public static final Comparator<ContentNameSearchSection> COMPARATOR
-
-
Constructor Detail
-
ContentNameSearchSection
public ContentNameSearchSection(@NonNull Integer weight, @NonNull List<ContentNameMatch> results)
-
-
Method Detail
-
getWeight
public Integer getWeight()
-
getResults
public List<ContentNameMatch> getResults()
-
-