Package org.incendo.cloud.annotations
Interface BuilderModifier<A extends Annotation,C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescription@NonNull Command.Builder<? extends C> modifyBuilder(@NonNull A annotation, @NonNull Command.Builder<C> builder) Modifies the commandbuilderand returns the updated builder.
-
Method Details
-
modifyBuilder
@NonNull Command.Builder<? extends C> modifyBuilder(@NonNull A annotation, @NonNull Command.Builder<C> builder) Modifies the commandbuilderand returns the updated builder.- Parameters:
annotation- the annotation instancebuilder- the existing builder- Returns:
- the updated builder
-