Package de.dytanic.cloudnet.provider
Class NodeNodeInfoProvider
- java.lang.Object
-
- de.dytanic.cloudnet.provider.NodeNodeInfoProvider
-
- All Implemented Interfaces:
de.dytanic.cloudnet.driver.provider.NodeInfoProvider
public class NodeNodeInfoProvider extends java.lang.Object implements de.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
-
Constructor Summary
Constructors Constructor Description NodeNodeInfoProvider(CloudNet cloudNet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable de.dytanic.cloudnet.driver.command.CommandInfogetConsoleCommand(@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)@Nullable de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodegetNode(@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.NetworkClusterNodeInfoSnapshotgetNodeInfoSnapshot(@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)
-
-
-
Constructor Detail
-
NodeNodeInfoProvider
public NodeNodeInfoProvider(CloudNet cloudNet)
-
-
Method Detail
-
getConsoleCommands
public java.util.Collection<de.dytanic.cloudnet.driver.command.CommandInfo> getConsoleCommands()
- Specified by:
getConsoleCommandsin interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
getNodes
public de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNode[] getNodes()
- Specified by:
getNodesin interfacede.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:
getNodein interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
getNodeInfoSnapshots
public de.dytanic.cloudnet.driver.network.cluster.NetworkClusterNodeInfoSnapshot[] getNodeInfoSnapshots()
- Specified by:
getNodeInfoSnapshotsin interfacede.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:
getNodeInfoSnapshotin interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
sendCommandLine
public java.lang.String[] sendCommandLine(@NotNull @NotNull java.lang.String commandLine)- Specified by:
sendCommandLinein interfacede.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:
sendCommandLinein interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
getConsoleCommand
@Nullable public @Nullable de.dytanic.cloudnet.driver.command.CommandInfo getConsoleCommand(@NotNull @NotNull java.lang.String commandLine)- Specified by:
getConsoleCommandin interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
getConsoleTabCompleteResults
public java.util.Collection<java.lang.String> getConsoleTabCompleteResults(@NotNull @NotNull java.lang.String commandLine)- Specified by:
getConsoleTabCompleteResultsin interfacede.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:
getConsoleCommandsAsyncin interfacede.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:
getConsoleCommandAsyncin interfacede.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:
getConsoleTabCompleteResultsAsyncin interfacede.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:
sendCommandLineAsyncin interfacede.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:
sendCommandLineAsyncin interfacede.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:
getNodesAsyncin interfacede.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:
getNodeAsyncin interfacede.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:
getNodeInfoSnapshotsAsyncin interfacede.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:
getNodeInfoSnapshotAsyncin interfacede.dytanic.cloudnet.driver.provider.NodeInfoProvider
-
-