Package de.dytanic.cloudnet.driver
Class CloudNetDriver
- java.lang.Object
-
- de.dytanic.cloudnet.driver.CloudNetDriver
-
public abstract class CloudNetDriver extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected DriverEnvironmentdriverEnvironmentprotected IEventManagereventManagerprotected de.dytanic.cloudnet.common.logging.ILoggerloggerprotected IModuleProvidermoduleProviderprotected PacketQueryProviderpacketQueryProviderprotected IPermissionManagementpermissionManagementprotected PermissionProviderpermissionProviderprotected de.dytanic.cloudnet.common.registry.IServicesRegistryservicesRegistryprotected de.dytanic.cloudnet.common.concurrent.ITaskSchedulertaskScheduler
-
Constructor Summary
Constructors Constructor Description CloudNetDriver(@NotNull de.dytanic.cloudnet.common.logging.ILogger logger)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddGroup(IPermissionGroup permissionGroup)Deprecated.voidaddGroupConfiguration(GroupConfiguration groupConfiguration)Deprecated.voidaddPermanentServiceTask(ServiceTask serviceTask)Deprecated.ServiceInfoSnapshotaddServiceDeploymentToCloudService(java.util.UUID uniqueId, ServiceDeployment serviceDeployment)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>addServiceDeploymentToCloudServiceAsync(java.util.UUID uniqueId, ServiceDeployment serviceDeployment)Deprecated.ServiceInfoSnapshotaddServiceRemoteInclusionToCloudService(java.util.UUID uniqueId, ServiceRemoteInclusion serviceRemoteInclusion)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>addServiceRemoteInclusionToCloudServiceAsync(java.util.UUID uniqueId, ServiceRemoteInclusion serviceRemoteInclusion)Deprecated.ServiceInfoSnapshotaddServiceTemplateToCloudService(java.util.UUID uniqueId, ServiceTemplate serviceTemplate)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>addServiceTemplateToCloudServiceAsync(java.util.UUID uniqueId, ServiceTemplate serviceTemplate)Deprecated.voidaddUser(IPermissionUser permissionUser)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Void>addUserAsync(IPermissionUser permissionUser)Deprecated.booleancontainsGroup(java.lang.String group)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean>containsGroupAsync(java.lang.String name)Deprecated.booleancontainsUser(java.lang.String name)Deprecated.booleancontainsUser(java.util.UUID uniqueId)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean>containsUserAsync(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean>containsUserAsync(java.util.UUID uniqueId)Deprecated.ServiceInfoSnapshotcreateCloudService(ServiceConfiguration serviceConfiguration)Deprecated.ServiceInfoSnapshotcreateCloudService(ServiceTask serviceTask)Deprecated.java.util.Collection<ServiceInfoSnapshot>createCloudService(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)java.util.Collection<ServiceInfoSnapshot>createCloudService(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)ServiceInfoSnapshotcreateCloudService(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)ServiceInfoSnapshotcreateCloudService(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>createCloudServiceAsync(ServiceConfiguration serviceConfiguration)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>createCloudServiceAsync(ServiceTask serviceTask)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>createCloudServiceAsync(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>createCloudServiceAsync(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>createCloudServiceAsync(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>createCloudServiceAsync(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)voiddeleteCloudService(ServiceInfoSnapshot serviceInfoSnapshot)Deprecated.voiddeleteGroup(IPermissionGroup group)Deprecated.voiddeleteGroup(java.lang.String group)Deprecated.voiddeleteUser(IPermissionUser permissionUser)Deprecated.voiddeleteUser(java.lang.String name)Deprecated.voiddeployResources(java.util.UUID uniqueId)Deprecated.voiddeployResources(java.util.UUID uniqueId, boolean removeDeployments)Deprecated.java.util.Queue<java.lang.String>getCachedLogMessagesFromService(java.util.UUID uniqueId)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Queue<java.lang.String>>getCachedLogMessagesFromServiceAsync(java.util.UUID uniqueId)Deprecated.java.util.Collection<ServiceInfoSnapshot>getCloudService(java.lang.String taskName)Deprecated.ServiceInfoSnapshotgetCloudService(java.util.UUID uniqueId)Deprecated.java.util.Collection<ServiceInfoSnapshot>getCloudServiceByGroup(java.lang.String group)Deprecated.ServiceInfoSnapshotgetCloudServiceByName(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>getCloudServiceByNameAsync(java.lang.String name)Deprecated.abstract @NotNull CloudServiceFactorygetCloudServiceFactory()abstract @NotNull GeneralCloudServiceProvidergetCloudServiceProvider()Returns the general CloudServiceProviderabstract @NotNull SpecificCloudServiceProvidergetCloudServiceProvider(@NotNull ServiceInfoSnapshot serviceInfoSnapshot)Returns a new service specific CloudServiceProviderabstract @NotNull SpecificCloudServiceProvidergetCloudServiceProvider(@NotNull java.lang.String name)Returns a new service specific CloudServiceProviderabstract @NotNull SpecificCloudServiceProvidergetCloudServiceProvider(@NotNull java.util.UUID uniqueId)Returns a new service specific CloudServiceProviderjava.util.Collection<ServiceInfoSnapshot>getCloudServices()Deprecated.java.util.Collection<ServiceInfoSnapshot>getCloudServices(ServiceEnvironmentType environment)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>getCloudServicesAsync()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>getCloudServicesAsync(ServiceEnvironmentType environment)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>getCloudServicesAsync(java.lang.String taskName)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>getCloudServicesAsync(java.util.UUID uniqueId)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>getCloudServicesByGroupAsync(java.lang.String group)Deprecated.de.dytanic.cloudnet.common.command.CommandInfogetConsoleCommand(java.lang.String commandLine)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.command.CommandInfo>getConsoleCommandAsync(java.lang.String commandLine)Deprecated.java.util.Collection<de.dytanic.cloudnet.common.command.CommandInfo>getConsoleCommands()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.common.command.CommandInfo>>getConsoleCommandsAsync()Deprecated.@NotNull DriverEnvironmentgetDriverEnvironment()@NotNull IEventManagergetEventManager()IPermissionGroupgetGroup(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<IPermissionGroup>getGroupAsync(java.lang.String name)Deprecated.GroupConfigurationgetGroupConfiguration(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<GroupConfiguration>getGroupConfigurationAsync(java.lang.String name)Deprecated.abstract @NotNull GroupConfigurationProvidergetGroupConfigurationProvider()java.util.Collection<GroupConfiguration>getGroupConfigurations()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<GroupConfiguration>>getGroupConfigurationsAsync()Deprecated.java.util.Collection<IPermissionGroup>getGroups()Deprecated.moved toIPermissionManagement.getGroups()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionGroup>>getGroupsAsync()Deprecated.static CloudNetDrivergetInstance()abstract java.util.Collection<ServiceTemplate>getLocalTemplateStorageTemplates()abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTemplate>>getLocalTemplateStorageTemplatesAsync()@NotNull de.dytanic.cloudnet.common.logging.ILoggergetLogger()abstract @NotNull CloudMessengergetMessenger()@NotNull IModuleProvidergetModuleProvider()abstract @NotNull INetworkClientgetNetworkClient()NetworkClusterNodegetNode(java.lang.String uniqueId)Deprecated.moved toNodeInfoProvider.getNode(String)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNode>getNodeAsync(java.lang.String uniqueId)Deprecated.abstract @NotNull NodeInfoProvidergetNodeInfoProvider()NetworkClusterNodeInfoSnapshotgetNodeInfoSnapshot(java.lang.String uniqueId)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNodeInfoSnapshot>getNodeInfoSnapshotAsync(java.lang.String uniqueId)Deprecated.NetworkClusterNodeInfoSnapshot[]getNodeInfoSnapshots()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNodeInfoSnapshot[]>getNodeInfoSnapshotsAsync()Deprecated.NetworkClusterNode[]getNodes()Deprecated.moved toNodeInfoProvider.getNodes()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNode[]>getNodesAsync()Deprecated.moved toNodeInfoProvider.getNodesAsync()intgetOwnPID()Fetches the PID of this process.@NotNull PacketQueryProvidergetPacketQueryProvider()java.util.Collection<ServiceTask>getPermanentServiceTasks()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTask>>getPermanentServiceTasksAsync()Deprecated.@NotNull IPermissionManagementgetPermissionManagement()@NotNull PermissionProvidergetPermissionProvider()Deprecated.replaced withgetPermissionManagement()java.util.Collection<java.util.UUID>getServicesAsUniqueId()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>>getServicesAsUniqueIdAsync()Deprecated.java.lang.IntegergetServicesCount()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountAsync()Deprecated.java.lang.IntegergetServicesCountByGroup(java.lang.String group)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountByGroupAsync(java.lang.String group)Deprecated.java.lang.IntegergetServicesCountByTask(java.lang.String taskName)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountByTaskAsync(java.lang.String taskName)Deprecated.@NotNull de.dytanic.cloudnet.common.registry.IServicesRegistrygetServicesRegistry()ServiceTaskgetServiceTask(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceTask>getServiceTaskAsync(java.lang.String name)Deprecated.abstract @NotNull ServiceTaskProvidergetServiceTaskProvider()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>>getStartedCloudServiceInfoSnapshotsAsync()Deprecated.java.util.Collection<ServiceInfoSnapshot>getStartedCloudServices()Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITaskSchedulergetTaskScheduler()abstract java.util.Collection<ServiceTemplate>getTemplateStorageTemplates(@NotNull java.lang.String serviceName)abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTemplate>>getTemplateStorageTemplatesAsync(@NotNull java.lang.String serviceName)java.util.List<IPermissionUser>getUser(java.lang.String name)Deprecated.IPermissionUsergetUser(java.util.UUID uniqueId)Deprecated.moved toIPermissionManagement.getUser(UUID)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.List<IPermissionUser>>getUserAsync(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<IPermissionUser>getUserAsync(java.util.UUID uniqueId)Deprecated.java.util.Collection<IPermissionUser>getUserByGroup(java.lang.String group)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionUser>>getUserByGroupAsync(java.lang.String group)Deprecated.java.util.Collection<IPermissionUser>getUsers()Deprecated.moved toIPermissionManagement.getUsers()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionUser>>getUsersAsync()Deprecated.voidincludeWaitingServiceInclusions(java.util.UUID uniqueId)Deprecated.voidincludeWaitingServiceTemplates(java.util.UUID uniqueId)Deprecated.booleanisGroupConfigurationPresent(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean>isGroupConfigurationPresentAsync(java.lang.String name)Deprecated.booleanisServiceTaskPresent(java.lang.String name)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean>isServiceTaskPresentAsync(java.lang.String name)Deprecated.voidkillCloudService(ServiceInfoSnapshot serviceInfoSnapshot)Deprecated.moved toSpecificCloudServiceProvider.kill()static java.util.Optional<CloudNetDriver>optionalInstance()The CloudNetDriver instance won't be null usually, this method is only relevant for testsvoidremoveGroupConfiguration(GroupConfiguration groupConfiguration)Deprecated.voidremoveGroupConfiguration(java.lang.String name)Deprecated.voidremovePermanentServiceTask(ServiceTask serviceTask)Deprecated.voidremovePermanentServiceTask(java.lang.String name)Deprecated.voidrestartCloudService(ServiceInfoSnapshot serviceInfoSnapshot)Deprecated.voidrunCommand(ServiceInfoSnapshot serviceInfoSnapshot, java.lang.String command)Deprecated.<R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R>sendCallablePacket(INetworkChannel networkChannel, java.lang.String channel, de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)<R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R>sendCallablePacket(INetworkChannel networkChannel, java.lang.String channel, java.lang.String id, de.dytanic.cloudnet.common.document.gson.JsonDocument data, java.util.function.Function<de.dytanic.cloudnet.common.document.gson.JsonDocument,R> function)<R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R>sendCallablePacketWithAsDriverSyncAPI(INetworkChannel channel, de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)<R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R>sendCallablePacketWithAsDriverSyncAPIWithNetworkConnector(de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)voidsendChannelMessage(ServiceInfoSnapshot targetServiceInfoSnapshot, java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)Deprecated.voidsendChannelMessage(ServiceTask targetServiceTask, java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)Deprecated.voidsendChannelMessage(java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)Deprecated.java.lang.String[]sendCommandLine(java.lang.String commandLine)Deprecated.java.lang.String[]sendCommandLine(java.lang.String nodeUniqueId, java.lang.String commandLine)Deprecated.abstract de.dytanic.cloudnet.common.collection.Pair<java.lang.Boolean,java.lang.String[]>sendCommandLineAsPermissionUser(@NotNull java.util.UUID uniqueId, @NotNull java.lang.String commandLine)abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<java.lang.Boolean,java.lang.String[]>>sendCommandLineAsPermissionUserAsync(@NotNull java.util.UUID uniqueId, @NotNull java.lang.String commandLine)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]>sendCommandLineAsync(java.lang.String commandLine)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]>sendCommandLineAsync(java.lang.String nodeUniqueId, java.lang.String commandLine)Deprecated.ServiceInfoSnapshotsendCommandLineToCloudService(java.util.UUID uniqueId, java.lang.String commandLine)Deprecated.@NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot>sendCommandLineToCloudServiceAsync(java.util.UUID uniqueId, java.lang.String commandLine)Deprecated.voidsetCloudServiceLifeCycle(ServiceInfoSnapshot serviceInfoSnapshot, ServiceLifeCycle lifeCycle)Deprecated.abstract voidsetGlobalLogLevel(int logLevel)abstract voidsetGlobalLogLevel(@NotNull de.dytanic.cloudnet.common.logging.LogLevel logLevel)voidsetGroups(java.util.Collection<? extends IPermissionGroup> groups)Deprecated.protected static voidsetInstance(@NotNull CloudNetDriver instance)voidsetPermissionManagement(@NotNull IPermissionManagement permissionManagement)voidsetUsers(java.util.Collection<? extends IPermissionUser> users)Deprecated.abstract voidstart()voidstartCloudService(ServiceInfoSnapshot serviceInfoSnapshot)Deprecated.moved toSpecificCloudServiceProvider.start()abstract voidstop()voidstopCloudService(ServiceInfoSnapshot serviceInfoSnapshot)Deprecated.moved toSpecificCloudServiceProvider.stop()voidupdateGroup(IPermissionGroup permissionGroup)Deprecated.voidupdateUser(IPermissionUser permissionUser)Deprecated.
-
-
-
Field Detail
-
packetQueryProvider
protected PacketQueryProvider packetQueryProvider
-
permissionManagement
protected IPermissionManagement permissionManagement
-
permissionProvider
protected PermissionProvider permissionProvider
-
servicesRegistry
protected final de.dytanic.cloudnet.common.registry.IServicesRegistry servicesRegistry
-
eventManager
protected final IEventManager eventManager
-
moduleProvider
protected final IModuleProvider moduleProvider
-
taskScheduler
protected final de.dytanic.cloudnet.common.concurrent.ITaskScheduler taskScheduler
-
logger
protected final de.dytanic.cloudnet.common.logging.ILogger logger
-
driverEnvironment
protected DriverEnvironment driverEnvironment
-
-
Method Detail
-
getInstance
public static CloudNetDriver getInstance()
-
optionalInstance
public static java.util.Optional<CloudNetDriver> optionalInstance()
The CloudNetDriver instance won't be null usually, this method is only relevant for tests- Returns:
- optional CloudNetDriver
-
setInstance
protected static void setInstance(@NotNull @NotNull CloudNetDriver instance)
-
start
public abstract void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
stop
public abstract void stop()
-
getCloudServiceFactory
@NotNull public abstract @NotNull CloudServiceFactory getCloudServiceFactory()
-
getServiceTaskProvider
@NotNull public abstract @NotNull ServiceTaskProvider getServiceTaskProvider()
-
getNodeInfoProvider
@NotNull public abstract @NotNull NodeInfoProvider getNodeInfoProvider()
-
getGroupConfigurationProvider
@NotNull public abstract @NotNull GroupConfigurationProvider getGroupConfigurationProvider()
-
getMessenger
@NotNull public abstract @NotNull CloudMessenger getMessenger()
-
getPermissionProvider
@NotNull @Deprecated @ScheduledForRemoval(inVersion="3.4") public @NotNull PermissionProvider getPermissionProvider()
Deprecated.replaced withgetPermissionManagement()
-
getPermissionManagement
@NotNull public @NotNull IPermissionManagement getPermissionManagement()
-
setPermissionManagement
public void setPermissionManagement(@NotNull @NotNull IPermissionManagement permissionManagement)
-
getCloudServiceProvider
@NotNull public abstract @NotNull SpecificCloudServiceProvider getCloudServiceProvider(@NotNull @NotNull java.lang.String name)
Returns a new service specific CloudServiceProvider- Parameters:
name- the name of the service- Returns:
- the new instance of the
SpecificCloudServiceProvider
-
getCloudServiceProvider
@NotNull public abstract @NotNull SpecificCloudServiceProvider getCloudServiceProvider(@NotNull @NotNull java.util.UUID uniqueId)
Returns a new service specific CloudServiceProvider- Parameters:
uniqueId- the uniqueId of the service- Returns:
- the new instance of the
SpecificCloudServiceProvider
-
getCloudServiceProvider
@NotNull public abstract @NotNull SpecificCloudServiceProvider getCloudServiceProvider(@NotNull @NotNull ServiceInfoSnapshot serviceInfoSnapshot)
Returns a new service specific CloudServiceProvider- Parameters:
serviceInfoSnapshot- the info of the service to create a provider for- Returns:
- the new instance of the
SpecificCloudServiceProvider
-
getCloudServiceProvider
@NotNull public abstract @NotNull GeneralCloudServiceProvider getCloudServiceProvider()
Returns the general CloudServiceProvider- Returns:
- the instance of the
GeneralCloudServiceProvider
-
getNetworkClient
@NotNull public abstract @NotNull INetworkClient getNetworkClient()
-
getLocalTemplateStorageTemplatesAsync
@NotNull public abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTemplate>> getLocalTemplateStorageTemplatesAsync()
-
getTemplateStorageTemplatesAsync
@NotNull public abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTemplate>> getTemplateStorageTemplatesAsync(@NotNull @NotNull java.lang.String serviceName)
-
getLocalTemplateStorageTemplates
public abstract java.util.Collection<ServiceTemplate> getLocalTemplateStorageTemplates()
-
getTemplateStorageTemplates
public abstract java.util.Collection<ServiceTemplate> getTemplateStorageTemplates(@NotNull @NotNull java.lang.String serviceName)
-
setGlobalLogLevel
public abstract void setGlobalLogLevel(@NotNull @NotNull de.dytanic.cloudnet.common.logging.LogLevel logLevel)
-
setGlobalLogLevel
public abstract void setGlobalLogLevel(int logLevel)
-
sendCommandLine
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.lang.String[] sendCommandLine(java.lang.String commandLine)
Deprecated.
-
sendCommandLine
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.lang.String[] sendCommandLine(java.lang.String nodeUniqueId, java.lang.String commandLine)Deprecated.
-
getOwnPID
public int getOwnPID()
Fetches the PID of this process.- Returns:
- the PID as an int or -1, if it couldn't be fetched
-
getConsoleCommands
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<de.dytanic.cloudnet.common.command.CommandInfo> getConsoleCommands()
Deprecated.
-
getConsoleCommand
@Deprecated @ScheduledForRemoval(inVersion="3.4") public de.dytanic.cloudnet.common.command.CommandInfo getConsoleCommand(java.lang.String commandLine)
Deprecated.
-
getConsoleCommandsAsync
@Deprecated @NotNull @ScheduledForRemoval(inVersion="3.4") public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.common.command.CommandInfo>> getConsoleCommandsAsync()
Deprecated.
-
getConsoleCommandAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.command.CommandInfo> getConsoleCommandAsync(java.lang.String commandLine)
Deprecated.
-
sendCommandLineAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync(java.lang.String commandLine)
Deprecated.
-
sendCommandLineAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.String[]> sendCommandLineAsync(java.lang.String nodeUniqueId, java.lang.String commandLine)Deprecated.
-
getNodesAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNode[]> getNodesAsync()
Deprecated.moved toNodeInfoProvider.getNodesAsync()
-
getNodeAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNode> getNodeAsync(java.lang.String uniqueId)
Deprecated.
-
getNodeInfoSnapshotsAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNodeInfoSnapshot[]> getNodeInfoSnapshotsAsync()
Deprecated.
-
getNodeInfoSnapshotAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<NetworkClusterNodeInfoSnapshot> getNodeInfoSnapshotAsync(java.lang.String uniqueId)
Deprecated.
-
getNodes
@Deprecated @ScheduledForRemoval(inVersion="3.4") public NetworkClusterNode[] getNodes()
Deprecated.moved toNodeInfoProvider.getNodes()- See Also:
getNodeInfoProvider(),NodeInfoProvider.getNodes()
-
getNode
@Deprecated @ScheduledForRemoval(inVersion="3.4") public NetworkClusterNode getNode(java.lang.String uniqueId)
Deprecated.moved toNodeInfoProvider.getNode(String)
-
getNodeInfoSnapshots
@Deprecated @ScheduledForRemoval(inVersion="3.4") public NetworkClusterNodeInfoSnapshot[] getNodeInfoSnapshots()
Deprecated.
-
getNodeInfoSnapshot
@Deprecated @ScheduledForRemoval(inVersion="3.4") public NetworkClusterNodeInfoSnapshot getNodeInfoSnapshot(java.lang.String uniqueId)
Deprecated.
-
sendChannelMessage
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void sendChannelMessage(java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)Deprecated.
-
sendChannelMessage
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void sendChannelMessage(ServiceInfoSnapshot targetServiceInfoSnapshot, java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)
Deprecated.
-
sendChannelMessage
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void sendChannelMessage(ServiceTask targetServiceTask, java.lang.String channel, java.lang.String message, de.dytanic.cloudnet.common.document.gson.JsonDocument data)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot createCloudService(ServiceTask serviceTask)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot createCloudService(ServiceConfiguration serviceConfiguration)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot createCloudService(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot createCloudService(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> createCloudService(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)
Deprecated.
-
createCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> createCloudService(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> createCloudServiceAsync(ServiceTask serviceTask)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> createCloudServiceAsync(ServiceConfiguration serviceConfiguration)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> createCloudServiceAsync(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> createCloudServiceAsync(java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> createCloudServiceAsync(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, java.lang.Integer port)
Deprecated.
-
createCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> createCloudServiceAsync(java.lang.String nodeUniqueId, int amount, java.lang.String name, java.lang.String runtime, boolean autoDeleteOnStop, boolean staticService, java.util.Collection<ServiceRemoteInclusion> includes, java.util.Collection<ServiceTemplate> templates, java.util.Collection<ServiceDeployment> deployments, java.util.Collection<java.lang.String> groups, ProcessConfiguration processConfiguration, de.dytanic.cloudnet.common.document.gson.JsonDocument properties, java.lang.Integer port)
Deprecated.
-
sendCommandLineToCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot sendCommandLineToCloudService(java.util.UUID uniqueId, java.lang.String commandLine)
Deprecated.
-
addServiceTemplateToCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot addServiceTemplateToCloudService(java.util.UUID uniqueId, ServiceTemplate serviceTemplate)
Deprecated.
-
addServiceRemoteInclusionToCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot addServiceRemoteInclusionToCloudService(java.util.UUID uniqueId, ServiceRemoteInclusion serviceRemoteInclusion)
Deprecated.
-
addServiceDeploymentToCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot addServiceDeploymentToCloudService(java.util.UUID uniqueId, ServiceDeployment serviceDeployment)
Deprecated.
-
getCachedLogMessagesFromService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Queue<java.lang.String> getCachedLogMessagesFromService(java.util.UUID uniqueId)
Deprecated.
-
stopCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void stopCloudService(ServiceInfoSnapshot serviceInfoSnapshot)
Deprecated.moved toSpecificCloudServiceProvider.stop()
-
startCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void startCloudService(ServiceInfoSnapshot serviceInfoSnapshot)
Deprecated.moved toSpecificCloudServiceProvider.start()
-
deleteCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deleteCloudService(ServiceInfoSnapshot serviceInfoSnapshot)
Deprecated.
-
setCloudServiceLifeCycle
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void setCloudServiceLifeCycle(ServiceInfoSnapshot serviceInfoSnapshot, ServiceLifeCycle lifeCycle)
Deprecated.
-
restartCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void restartCloudService(ServiceInfoSnapshot serviceInfoSnapshot)
Deprecated.
-
killCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void killCloudService(ServiceInfoSnapshot serviceInfoSnapshot)
Deprecated.moved toSpecificCloudServiceProvider.kill()
-
runCommand
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void runCommand(ServiceInfoSnapshot serviceInfoSnapshot, java.lang.String command)
Deprecated.
-
sendCommandLineToCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> sendCommandLineToCloudServiceAsync(java.util.UUID uniqueId, java.lang.String commandLine)
Deprecated.
-
addServiceTemplateToCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> addServiceTemplateToCloudServiceAsync(java.util.UUID uniqueId, ServiceTemplate serviceTemplate)
Deprecated.
-
addServiceRemoteInclusionToCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> addServiceRemoteInclusionToCloudServiceAsync(java.util.UUID uniqueId, ServiceRemoteInclusion serviceRemoteInclusion)
Deprecated.
-
addServiceDeploymentToCloudServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> addServiceDeploymentToCloudServiceAsync(java.util.UUID uniqueId, ServiceDeployment serviceDeployment)
Deprecated.
-
getCachedLogMessagesFromServiceAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Queue<java.lang.String>> getCachedLogMessagesFromServiceAsync(java.util.UUID uniqueId)
Deprecated.
-
includeWaitingServiceTemplates
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void includeWaitingServiceTemplates(java.util.UUID uniqueId)
Deprecated.
-
includeWaitingServiceInclusions
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void includeWaitingServiceInclusions(java.util.UUID uniqueId)
Deprecated.
-
deployResources
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deployResources(java.util.UUID uniqueId, boolean removeDeployments)Deprecated.
-
deployResources
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deployResources(java.util.UUID uniqueId)
Deprecated.
-
getServicesAsUniqueId
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<java.util.UUID> getServicesAsUniqueId()
Deprecated.
-
getCloudServiceByName
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot getCloudServiceByName(java.lang.String name)
Deprecated.
-
getCloudServices
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> getCloudServices()
Deprecated.
-
getStartedCloudServices
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> getStartedCloudServices()
Deprecated.
-
getCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> getCloudService(java.lang.String taskName)
Deprecated.
-
getCloudServices
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> getCloudServices(ServiceEnvironmentType environment)
Deprecated.
-
getCloudServiceByGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceInfoSnapshot> getCloudServiceByGroup(java.lang.String group)
Deprecated.
-
getCloudService
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceInfoSnapshot getCloudService(java.util.UUID uniqueId)
Deprecated.
-
getServicesCount
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.lang.Integer getServicesCount()
Deprecated.
-
getServicesCountByGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.lang.Integer getServicesCountByGroup(java.lang.String group)
Deprecated.
-
getServicesCountByTask
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.lang.Integer getServicesCountByTask(java.lang.String taskName)
Deprecated.
-
getServicesAsUniqueIdAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>> getServicesAsUniqueIdAsync()
Deprecated.
-
getCloudServiceByNameAsync
@Deprecated @NotNull @ScheduledForRemoval(inVersion="3.4") public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> getCloudServiceByNameAsync(java.lang.String name)
Deprecated.
-
getCloudServicesAsync
@Deprecated @NotNull @ScheduledForRemoval(inVersion="3.4") public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync()
Deprecated.
-
getStartedCloudServiceInfoSnapshotsAsync
@Deprecated @NotNull @ScheduledForRemoval(inVersion="3.4") public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> getStartedCloudServiceInfoSnapshotsAsync()
Deprecated.
-
getCloudServicesAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync(java.lang.String taskName)
Deprecated.
-
getCloudServicesByGroupAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesByGroupAsync(java.lang.String group)
Deprecated.
-
getServicesCountAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountAsync()
Deprecated.
-
getServicesCountByGroupAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByGroupAsync(java.lang.String group)
Deprecated.
-
getServicesCountByTaskAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByTaskAsync(java.lang.String taskName)
Deprecated.
-
getCloudServicesAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceInfoSnapshot> getCloudServicesAsync(java.util.UUID uniqueId)
Deprecated.
-
getCloudServicesAsync
@Deprecated @NotNull @ScheduledForRemoval(inVersion="3.4") public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync(ServiceEnvironmentType environment)
Deprecated.
-
getPermanentServiceTasks
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<ServiceTask> getPermanentServiceTasks()
Deprecated.
-
getServiceTask
@Deprecated @ScheduledForRemoval(inVersion="3.4") public ServiceTask getServiceTask(java.lang.String name)
Deprecated.
-
isServiceTaskPresent
@Deprecated @ScheduledForRemoval(inVersion="3.4") public boolean isServiceTaskPresent(java.lang.String name)
Deprecated.
-
addPermanentServiceTask
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void addPermanentServiceTask(ServiceTask serviceTask)
Deprecated.
-
removePermanentServiceTask
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void removePermanentServiceTask(java.lang.String name)
Deprecated.
-
removePermanentServiceTask
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void removePermanentServiceTask(ServiceTask serviceTask)
Deprecated.
-
getPermanentServiceTasksAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<ServiceTask>> getPermanentServiceTasksAsync()
Deprecated.
-
getServiceTaskAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<ServiceTask> getServiceTaskAsync(java.lang.String name)
Deprecated.
-
isServiceTaskPresentAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean> isServiceTaskPresentAsync(java.lang.String name)
Deprecated.
-
getGroupConfigurations
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<GroupConfiguration> getGroupConfigurations()
Deprecated.
-
getGroupConfiguration
@Deprecated @ScheduledForRemoval(inVersion="3.4") public GroupConfiguration getGroupConfiguration(java.lang.String name)
Deprecated.
-
isGroupConfigurationPresent
@Deprecated @ScheduledForRemoval(inVersion="3.4") public boolean isGroupConfigurationPresent(java.lang.String name)
Deprecated.
-
addGroupConfiguration
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void addGroupConfiguration(GroupConfiguration groupConfiguration)
Deprecated.
-
removeGroupConfiguration
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void removeGroupConfiguration(java.lang.String name)
Deprecated.
-
removeGroupConfiguration
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void removeGroupConfiguration(GroupConfiguration groupConfiguration)
Deprecated.
-
getGroupConfigurationsAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<GroupConfiguration>> getGroupConfigurationsAsync()
Deprecated.
-
getGroupConfigurationAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<GroupConfiguration> getGroupConfigurationAsync(java.lang.String name)
Deprecated.
-
isGroupConfigurationPresentAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean> isGroupConfigurationPresentAsync(java.lang.String name)
Deprecated.
-
addUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void addUser(IPermissionUser permissionUser)
Deprecated.
-
updateUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void updateUser(IPermissionUser permissionUser)
Deprecated.
-
deleteUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deleteUser(java.lang.String name)
Deprecated.
-
deleteUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deleteUser(IPermissionUser permissionUser)
Deprecated.
-
containsUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public boolean containsUser(java.util.UUID uniqueId)
Deprecated.
-
containsUser
@Deprecated @ScheduledForRemoval(inVersion="3.4") public boolean containsUser(java.lang.String name)
Deprecated.
-
getUser
@ScheduledForRemoval(inVersion="3.4") @Deprecated public IPermissionUser getUser(java.util.UUID uniqueId)
Deprecated.moved toIPermissionManagement.getUser(UUID)
-
getUser
@ScheduledForRemoval(inVersion="3.4") @Deprecated public java.util.List<IPermissionUser> getUser(java.lang.String name)
Deprecated.
-
getUsers
@ScheduledForRemoval(inVersion="3.4") @Deprecated public java.util.Collection<IPermissionUser> getUsers()
Deprecated.moved toIPermissionManagement.getUsers()
-
setUsers
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void setUsers(java.util.Collection<? extends IPermissionUser> users)
Deprecated.
-
getUserByGroup
@ScheduledForRemoval(inVersion="3.4") @Deprecated public java.util.Collection<IPermissionUser> getUserByGroup(java.lang.String group)
Deprecated.
-
addGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void addGroup(IPermissionGroup permissionGroup)
Deprecated.
-
updateGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void updateGroup(IPermissionGroup permissionGroup)
Deprecated.
-
deleteGroup
@ScheduledForRemoval(inVersion="3.4") @Deprecated public void deleteGroup(java.lang.String group)
Deprecated.
-
deleteGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void deleteGroup(IPermissionGroup group)
Deprecated.
-
containsGroup
@ScheduledForRemoval(inVersion="3.4") @Deprecated public boolean containsGroup(java.lang.String group)
Deprecated.
-
getGroup
@Deprecated @ScheduledForRemoval(inVersion="3.4") public IPermissionGroup getGroup(java.lang.String name)
Deprecated.
-
getGroups
@Deprecated @ScheduledForRemoval(inVersion="3.4") public java.util.Collection<IPermissionGroup> getGroups()
Deprecated.moved toIPermissionManagement.getGroups()
-
setGroups
@Deprecated @ScheduledForRemoval(inVersion="3.4") public void setGroups(java.util.Collection<? extends IPermissionGroup> groups)
Deprecated.
-
addUserAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Void> addUserAsync(IPermissionUser permissionUser)
Deprecated.
-
containsUserAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean> containsUserAsync(java.util.UUID uniqueId)
Deprecated.
-
containsUserAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean> containsUserAsync(java.lang.String name)
Deprecated.
-
getUserAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<IPermissionUser> getUserAsync(java.util.UUID uniqueId)
Deprecated.
-
getUserAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.List<IPermissionUser>> getUserAsync(java.lang.String name)
Deprecated.
-
getUsersAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionUser>> getUsersAsync()
Deprecated.
-
getUserByGroupAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionUser>> getUserByGroupAsync(java.lang.String group)
Deprecated.
-
containsGroupAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Boolean> containsGroupAsync(java.lang.String name)
Deprecated.
-
getGroupAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<IPermissionGroup> getGroupAsync(java.lang.String name)
Deprecated.
-
getGroupsAsync
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<IPermissionGroup>> getGroupsAsync()
Deprecated.
-
sendCommandLineAsPermissionUser
public abstract de.dytanic.cloudnet.common.collection.Pair<java.lang.Boolean,java.lang.String[]> sendCommandLineAsPermissionUser(@NotNull @NotNull java.util.UUID uniqueId, @NotNull @NotNull java.lang.String commandLine)
-
sendCommandLineAsPermissionUserAsync
@NotNull public abstract @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.common.collection.Pair<java.lang.Boolean,java.lang.String[]>> sendCommandLineAsPermissionUserAsync(@NotNull @NotNull java.util.UUID uniqueId, @NotNull @NotNull java.lang.String commandLine)
-
sendCallablePacket
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public <R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R> sendCallablePacket(INetworkChannel networkChannel, java.lang.String channel, java.lang.String id, de.dytanic.cloudnet.common.document.gson.JsonDocument data, java.util.function.Function<de.dytanic.cloudnet.common.document.gson.JsonDocument,R> function)
Deprecated.
-
sendCallablePacketWithAsDriverSyncAPIWithNetworkConnector
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public <R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R> sendCallablePacketWithAsDriverSyncAPIWithNetworkConnector(de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)Deprecated.
-
sendCallablePacketWithAsDriverSyncAPI
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public <R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R> sendCallablePacketWithAsDriverSyncAPI(INetworkChannel channel, de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)
Deprecated.
-
sendCallablePacket
@Deprecated @ScheduledForRemoval(inVersion="3.4") @NotNull public <R> @NotNull de.dytanic.cloudnet.common.concurrent.ITask<R> sendCallablePacket(INetworkChannel networkChannel, java.lang.String channel, de.dytanic.cloudnet.common.document.gson.JsonDocument header, byte[] body, java.util.function.Function<de.dytanic.cloudnet.common.collection.Pair<de.dytanic.cloudnet.common.document.gson.JsonDocument,byte[]>,R> function)
Deprecated.
-
getPacketQueryProvider
@NotNull public @NotNull PacketQueryProvider getPacketQueryProvider()
-
getServicesRegistry
@NotNull public @NotNull de.dytanic.cloudnet.common.registry.IServicesRegistry getServicesRegistry()
-
getEventManager
@NotNull public @NotNull IEventManager getEventManager()
-
getModuleProvider
@NotNull public @NotNull IModuleProvider getModuleProvider()
-
getTaskScheduler
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITaskScheduler getTaskScheduler()
-
getLogger
@NotNull public @NotNull de.dytanic.cloudnet.common.logging.ILogger getLogger()
-
getDriverEnvironment
@NotNull public @NotNull DriverEnvironment getDriverEnvironment()
-
-