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>
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
VisibleLabelFilter
public VisibleLabelFilter()
VisibleLabelFilter
public VisibleLabelFilter(String user)
apply
public boolean apply(@Nullable
Label input)
- Specified by:
apply in interface com.google.common.base.Predicate<Label>
isIncluded
public boolean isIncluded(Object object)
- Specified by:
isIncluded in interface com.atlassian.core.util.filter.Filter
Copyright © 2003–2015 Atlassian. All rights reserved.