@Immutable public class

LabelsSearchFilter

extends AbstractChainableSearchFilter
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.AbstractChainableSearchFilter
     ↳ com.atlassian.confluence.search.v2.searchfilter.LabelsSearchFilter

Class Overview

Allows filtering by multiple labels. Results returned must match at least one of the specified labels.

Summary

Public Constructors
LabelsSearchFilter(Set<String> labels)
Public Methods
String getKey()
Set<String> getLabels()
[Expand]
Inherited Methods
From class com.atlassian.confluence.search.v2.AbstractChainableSearchFilter
From class java.lang.Object
From interface com.atlassian.confluence.search.v2.SearchFilter

Public Constructors

public LabelsSearchFilter (Set<String> labels)

Parameters
labels a set of labels. Namespaced labels such as "my:foo" are permitted. Required.
Throws
IllegalArgumentException if labels is null

Public Methods

public String getKey ()

public Set<String> getLabels ()