Interface AggregateParserPairBuilder.Mapper<C,U,V,O>
- All Known Subinterfaces:
AggregateParserPairBuilder.Mapper.DirectSuccessMapper<C,U, V, O>
- Enclosing class:
AggregateParserPairBuilder<C,U, V, O>
public static interface AggregateParserPairBuilder.Mapper<C,U,V,O>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionMaps the results of the child parsers to the output type.
-
Method Details
-
map
@NonNull CompletableFuture<ArgumentParseResult<O>> map(@NonNull CommandContext<C> commandContext, @NonNull U firstResult, @NonNull V secondResult) Maps the results of the child parsers to the output type.- Parameters:
commandContext- the command contextfirstResult- the first resultsecondResult- the second result- Returns:
- the mapped result
-