Interface ComponentDescriptorModifier
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ComponentDescriptorModifier
Callback for modifying a given component descriptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ComponentDescriptor<T>
apply(ComponentDescriptor<T> descriptor)
Modifies the givenComponentDescriptor
.
-
-
-
Method Detail
-
apply
<T> ComponentDescriptor<T> apply(ComponentDescriptor<T> descriptor)
Modifies the givenComponentDescriptor
.- Type Parameters:
T
- the component type.- Parameters:
descriptor
- theComponentDescriptor
instance.- Returns:
- the modified descriptor or a new instance.
-
-