Interface AggregateParserTripletBuilder.Mapper<C,U,V,Z,O>
- All Known Subinterfaces:
AggregateParserTripletBuilder.Mapper.DirectSuccessMapper<C,U, V, Z, O>
public static interface AggregateParserTripletBuilder.Mapper<C,U,V,Z,O>
-
Method Details
-
map
@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.- Parameters:
commandContext- the command contextfirstResult- the first resultsecondResult- the second resultthirdResult- the third result- Returns:
- the mapped result
-