Class VelocityCloudCommand
java.lang.Object
eu.cloudnetservice.modules.bridge.impl.platform.velocity.commands.VelocityCloudCommand
- All Implemented Interfaces:
com.velocitypowered.api.command.Command, com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>, com.velocitypowered.api.command.SimpleCommand
@Singleton
public final class VelocityCloudCommand
extends Object
implements com.velocitypowered.api.command.SimpleCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
com.velocitypowered.api.command.SimpleCommand.Invocation -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final eu.cloudnetservice.driver.provider.ClusterNodeProviderprivate final PlatformBridgeManagement<?, ?> -
Constructor Summary
ConstructorsConstructorDescriptionVelocityCloudCommand(@NonNull eu.cloudnetservice.driver.provider.ClusterNodeProvider clusterNodeProvider, @NonNull PlatformBridgeManagement<?, ?> management) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidexecuteNow(@NonNull com.velocitypowered.api.command.CommandSource source, @NonNull String commandLine) booleanhasPermission(@NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation) suggestAsync(@NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.velocitypowered.api.command.InvocableCommand
suggest
-
Field Details
-
clusterNodeProvider
private final eu.cloudnetservice.driver.provider.ClusterNodeProvider clusterNodeProvider -
management
-
-
Constructor Details
-
VelocityCloudCommand
@Inject public VelocityCloudCommand(@NonNull @NonNull eu.cloudnetservice.driver.provider.ClusterNodeProvider clusterNodeProvider, @NonNull @NonNull PlatformBridgeManagement<?, ?> management)
-
-
Method Details
-
execute
-
executeNow
-
suggestAsync
@NonNull public @NonNull CompletableFuture<List<String>> suggestAsync(@NonNull @NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation) - Specified by:
suggestAsyncin interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
hasPermission
-