Package | Description |
---|---|
org.apache.felix.ipojo.manipulator.metadata.annotation.registry | |
org.apache.felix.ipojo.manipulator.spi | |
org.apache.felix.ipojo.manipulator.spi.helper |
Modifier and Type | Method and Description |
---|---|
Predicate |
Binding.getPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
Binding.setPredicate(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
AbsBindingModule.ConditionalBindingBuilder |
AbsBindingModule.AnnotationBindingBuilder.when(Predicate predicate)
Declares a
Predicate that will add a condition to the annotation binding. |
Constructor and Description |
---|
ConditionalBindingBuilder(AbsBindingModule.AnnotationBindingBuilder parent,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.alwaysTrue()
Always return true.
|
static Predicate |
Predicates.and(Predicate... predicates)
Successful if all given predicates are satisfied.
|
Predicate |
Predicates.Reference.exists()
Restrict execution if the
ComponentWorkbench
contains the given reference's name. |
Predicate |
Predicates.Matcher.matches()
Restrict execution if the annotation's classname matches the given pattern.
|
Predicate |
Predicates.Node.named(String expected)
Restrict execution if the supported Node has the given name.
|
static Predicate |
Predicates.on(ElementType type)
Restrict to the given
ElementType . |
static Predicate |
Predicates.onlySupportedElements(Class<? extends Annotation> annotationType)
Restrict to the supported
ElementType (s) of the annotation (use the @Target, if provided). |
static Predicate |
Predicates.or(Collection<Predicate> predicates)
Successful if at least one of the given predicates is satisfied.
|
static Predicate |
Predicates.or(Predicate... predicates)
Successful if at least one of the given predicates is satisfied.
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.and(Predicate... predicates)
Successful if all given predicates are satisfied.
|
static Predicate |
Predicates.or(Predicate... predicates)
Successful if at least one of the given predicates is satisfied.
|
Modifier and Type | Method and Description |
---|---|
static Predicate |
Predicates.or(Collection<Predicate> predicates)
Successful if at least one of the given predicates is satisfied.
|
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.