Package com.atlassian.confluence.labels
Class VisibleLabelFilter
- java.lang.Object
-
- com.atlassian.confluence.labels.VisibleLabelFilter
-
- All Implemented Interfaces:
com.atlassian.core.util.filter.Filter
,com.google.common.base.Predicate<Label>
,Predicate<Label>
public class VisibleLabelFilter extends Object implements com.atlassian.core.util.filter.Filter, com.google.common.base.Predicate<Label>
This filters a list of label objects, returning those labels from the list that the specified user should see.
-
-
Constructor Summary
Constructors Constructor Description VisibleLabelFilter()
VisibleLabelFilter(String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(@NonNull Label input)
boolean
isIncluded(Object object)
-
-
-
Constructor Detail
-
VisibleLabelFilter
public VisibleLabelFilter()
-
VisibleLabelFilter
public VisibleLabelFilter(String user)
-
-