Interface AggregateParserTripletBuilder.Mapper.DirectSuccessMapper<C,U,V,Z,O>
- All Superinterfaces:
AggregateParserTripletBuilder.Mapper<C,U, V, Z, O>
public static interface AggregateParserTripletBuilder.Mapper.DirectSuccessMapper<C,U,V,Z,O>
extends AggregateParserTripletBuilder.Mapper<C,U,V,Z,O>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.parser.aggregate.AggregateParserTripletBuilder.Mapper
AggregateParserTripletBuilder.Mapper.DirectSuccessMapper<C,U, V, Z, O> -
Method Summary
Modifier and TypeMethodDescriptiondefault @NonNull CompletableFuture<ArgumentParseResult<O>> map(@NonNull CommandContext<C> commandContext, @NonNull U firstResult, @NonNull V secondResult, @NonNull Z thirdResult) Maps the results of the child parsers to the output type.mapSuccess(@NonNull CommandContext<C> commandContext, @NonNull U firstResult, @NonNull V secondResult, @NonNull Z thirdResult) Maps the results of the child parsers to the output type.
-
Method Details
-
mapSuccess
@NonNull O mapSuccess(@NonNull CommandContext<C> commandContext, @NonNull U firstResult, @NonNull V secondResult, @NonNull Z thirdResult) Maps the results of the child parsers to the output type.- Parameters:
commandContext- the command contextfirstResult- the first resultsecondResult- the second resultthirdResult- the third result- Returns:
- the mapped result
-
map
default @NonNull CompletableFuture<ArgumentParseResult<O>> map(@NonNull CommandContext<C> commandContext, @NonNull U firstResult, @NonNull V secondResult, @NonNull Z thirdResult) Description copied from interface:AggregateParserTripletBuilder.MapperMaps the results of the child parsers to the output type.
-