Package org.incendo.cloud
Interface Command.Builder.Applicable<C>
- Type Parameters:
C- command sender type
- Enclosing class:
Command.Builder<C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Essentially a
UnaryOperator for Command.Builder,
but as a separate interface to avoid conflicts.-
Method Summary
Modifier and TypeMethodDescriptionapplyToCommandBuilder(@NonNull Command.Builder<C> builder) Accepts aCommand.Builderand returns either the same or a modifiedCommand.Builderinstance.
-
Method Details
-
applyToCommandBuilder
@API(status=STABLE) @NonNull Command.Builder<C> applyToCommandBuilder(@NonNull Command.Builder<C> builder) Accepts aCommand.Builderand returns either the same or a modifiedCommand.Builderinstance.- Parameters:
builder- builder- Returns:
- possibly modified builder
-