Class WrapperNodeInfoProvider

  • All Implemented Interfaces:
    de.dytanic.cloudnet.driver.api.DriverAPIUser, de.dytanic.cloudnet.driver.provider.NodeInfoProvider

    public class WrapperNodeInfoProvider
    extends java.lang.Object
    implements de.dytanic.cloudnet.driver.provider.NodeInfoProvider, de.dytanic.cloudnet.driver.api.DriverAPIUser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable de.dytanic.cloudnet.driver.command.CommandInfo getConsoleCommand​(@NotNull java.lang.String commandLine)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.command.CommandInfo> getConsoleCommandAsync​(@NotNull java.lang.String commandLine)  
      java.util.Collection<de.dytanic.cloudnet.driver.command.CommandInfo> getConsoleCommands()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.command.CommandInfo>> getConsoleCommandsAsync()  
      java.util.Collection<java.lang.String> getConsoleTabCompleteResults​(@NotNull java.lang.String commandLine)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.lang.String>> getConsoleTabCompleteResultsAsync​(@NotNull java.lang.String commandLine)  
      de.dytanic.cloudnet.driver.network.INetworkChannel getNetworkChannel()  
      @Nullable de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode getNode​(@NotNull java.lang.String uniqueId)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode> getNodeAsync​(@NotNull java.lang.String uniqueId)  
      @Nullable de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot getNodeInfoSnapshot​(@NotNull java.lang.String uniqueId)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot> getNodeInfoSnapshotAsync​(@NotNull java.lang.String uniqueId)  
      de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot[] getNodeInfoSnapshots()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot[]> getNodeInfoSnapshotsAsync()  
      de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode[] getNodes()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode[]> getNodesAsync()  
      java.lang.String[] sendCommandLine​(@NotNull java.lang.String commandLine)  
      java.lang.String[] sendCommandLine​(@NotNull java.lang.String nodeUniqueId, @NotNull java.lang.String commandLine)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync​(@NotNull java.lang.String commandLine)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync​(@NotNull java.lang.String nodeUniqueId, @NotNull java.lang.String commandLine)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.dytanic.cloudnet.driver.api.DriverAPIUser

        executeChunkedDriverAPIMethod, executeDriverAPIMethod, executeDriverAPIMethod, executeVoidDriverAPIMethod, executeVoidDriverAPIMethod
    • Constructor Detail

      • WrapperNodeInfoProvider

        public WrapperNodeInfoProvider​(Wrapper wrapper)
    • Method Detail

      • getConsoleCommands

        public java.util.Collection<de.dytanic.cloudnet.driver.command.CommandInfo> getConsoleCommands()
        Specified by:
        getConsoleCommands in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getConsoleCommand

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.command.CommandInfo getConsoleCommand​(@NotNull
                                                                                          @NotNull java.lang.String commandLine)
        Specified by:
        getConsoleCommand in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getConsoleTabCompleteResults

        public java.util.Collection<java.lang.String> getConsoleTabCompleteResults​(@NotNull
                                                                                   @NotNull java.lang.String commandLine)
        Specified by:
        getConsoleTabCompleteResults in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • sendCommandLine

        public java.lang.String[] sendCommandLine​(@NotNull
                                                  @NotNull java.lang.String commandLine)
        Specified by:
        sendCommandLine in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • sendCommandLine

        public java.lang.String[] sendCommandLine​(@NotNull
                                                  @NotNull java.lang.String nodeUniqueId,
                                                  @NotNull
                                                  @NotNull java.lang.String commandLine)
        Specified by:
        sendCommandLine in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodes

        public de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode[] getNodes()
        Specified by:
        getNodes in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNode

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode getNode​(@NotNull
                                                                                               @NotNull java.lang.String uniqueId)
        Specified by:
        getNode in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodeInfoSnapshots

        public de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot[] getNodeInfoSnapshots()
        Specified by:
        getNodeInfoSnapshots in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodeInfoSnapshot

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot getNodeInfoSnapshot​(@NotNull
                                                                                                                       @NotNull java.lang.String uniqueId)
        Specified by:
        getNodeInfoSnapshot in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getConsoleCommandsAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.command.CommandInfo>> getConsoleCommandsAsync()
        Specified by:
        getConsoleCommandsAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getConsoleCommandAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.command.CommandInfo> getConsoleCommandAsync​(@NotNull
                                                                                                                                           @NotNull java.lang.String commandLine)
        Specified by:
        getConsoleCommandAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getConsoleTabCompleteResultsAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.lang.String>> getConsoleTabCompleteResultsAsync​(@NotNull
                                                                                                                                              @NotNull java.lang.String commandLine)
        Specified by:
        getConsoleTabCompleteResultsAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • sendCommandLineAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync​(@NotNull
                                                                                                             @NotNull java.lang.String commandLine)
        Specified by:
        sendCommandLineAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • sendCommandLineAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync​(@NotNull
                                                                                                             @NotNull java.lang.String nodeUniqueId,
                                                                                                             @NotNull
                                                                                                             @NotNull java.lang.String commandLine)
        Specified by:
        sendCommandLineAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodesAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode[]> getNodesAsync()
        Specified by:
        getNodesAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodeAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode> getNodeAsync​(@NotNull
                                                                                                                                                @NotNull java.lang.String uniqueId)
        Specified by:
        getNodeAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodeInfoSnapshotsAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot[]> getNodeInfoSnapshotsAsync()
        Specified by:
        getNodeInfoSnapshotsAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNodeInfoSnapshotAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot> getNodeInfoSnapshotAsync​(@NotNull
                                                                                                                                                                        @NotNull java.lang.String uniqueId)
        Specified by:
        getNodeInfoSnapshotAsync in interface de.dytanic.cloudnet.driver.provider.NodeInfoProvider
      • getNetworkChannel

        public de.dytanic.cloudnet.driver.network.INetworkChannel getNetworkChannel()
        Specified by:
        getNetworkChannel in interface de.dytanic.cloudnet.driver.api.DriverAPIUser