public class ConditionalDescriptorPredicate extends Object implements com.google.common.base.Predicate<com.atlassian.plugin.web.descriptors.ConditionalDescriptor>, java.util.function.Predicate<com.atlassian.plugin.web.descriptors.ConditionalDescriptor>
ConditionalDescriptor. It will select only those that
have ConditionalDescriptor.getCondition() returning true from
Condition.shouldDisplay(java.util.Map).| Constructor and Description |
|---|
ConditionalDescriptorPredicate(Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(com.atlassian.plugin.web.descriptors.ConditionalDescriptor input) |
boolean |
test(com.atlassian.plugin.web.descriptors.ConditionalDescriptor conditionalDescriptor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isEqual, negate, orpublic boolean apply(@Nullable com.atlassian.plugin.web.descriptors.ConditionalDescriptor input)
public boolean test(com.atlassian.plugin.web.descriptors.ConditionalDescriptor conditionalDescriptor)
test in interface java.util.function.Predicate<com.atlassian.plugin.web.descriptors.ConditionalDescriptor>Copyright © 2002-2021 Atlassian. All Rights Reserved.