Package studio.mevera.imperat.command
Class CommandPathway.Builder<S extends CommandSource>
java.lang.Object
studio.mevera.imperat.command.CommandPathway.Builder<S>
- Enclosing interface:
- CommandPathway<S extends CommandSource>
-
Method Summary
Modifier and TypeMethodDescriptionfinal CommandPathway.Builder<S>argBuilders(List<? extends ArgumentBuilder<S, ?>> builders) final CommandPathway.Builder<S>final CommandPathway.Builder<S>arguments(ArgumentBuilder<S, ?>... builders) cooldown(@Nullable CooldownRecord cooldown) coordinator(CommandCoordinator<S> commandCoordinator) description(Description description) execute(CommandExecution<S> execution) Set<FlagArgument<S>>@Nullable MethodElementmethodElement(MethodElement methodElement) permission(PermissionsData permission) withFlags(Set<FlagArgument<S>> flagArguments) final CommandPathway.Builder<S>withFlags(FlagArgument<S>... flagArguments) final CommandPathway.Builder<S>withFlags(FlagArgumentBuilder<S, ?>... flagArgumentBuilders)
-
Method Details
-
methodElement
-
coordinator
-
examples
-
examples
-
execute
-
permission
-
cooldown
-
cooldown
public CommandPathway.Builder<S> cooldown(long value, TimeUnit unit, @Nullable @Nullable String permission) -
cooldown
-
description
-
arguments
-
argBuilders
-
arguments
-
arguments
-
withFlags
-
withFlags
-
withFlags
@SafeVarargs public final CommandPathway.Builder<S> withFlags(FlagArgumentBuilder<S, ?>... flagArgumentBuilders) -
build
-
getCommandCoordinator
-
getExecution
-
getCooldown
-
getDescription
-
getParameters
-
getExamples
-
getPermission
-
getFlagArguments
-
getMethodElement
-