Class DynamicLiteralBuilder<C extends CommandContext<C>>
java.lang.Object
site.lab0x13.scrow.commands.model.literal.LiteralBuilder<C, DynamicLiteralBuilder<C>>
site.lab0x13.scrow.commands.model.literal.DynamicLiteralBuilder<C>
public final class DynamicLiteralBuilder<C extends CommandContext<C>>
extends LiteralBuilder<C, DynamicLiteralBuilder<C>>
-
Field Summary
Fields inherited from class LiteralBuilder
arguments, executor, names, permission -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected DynamicLiteralBuilder<C> getThis()withSubLiteralMetas(Supplier<List<LiteralMeta>> names) withSubLiteralProvider(Function<String, @Nullable Literal<C>> literalProvider) Methods inherited from class LiteralBuilder
asRootLiteral, withArgument, withExecutor, withPermission, withSyncExecutor
-
Method Details
-
getThis
- Specified by:
getThisin classLiteralBuilder<C extends CommandContext<C>, DynamicLiteralBuilder<C extends CommandContext<C>>>
-
withSubLiteralMetas
-
withSubLiteralProvider
-
build
- Specified by:
buildin classLiteralBuilder<C extends CommandContext<C>, DynamicLiteralBuilder<C extends CommandContext<C>>>
-