Class WrapperGeneralCloudServiceProvider

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

    public class WrapperGeneralCloudServiceProvider
    extends java.lang.Object
    implements de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider, de.dytanic.cloudnet.driver.api.DriverAPIUser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudService​(@NotNull java.util.UUID uniqueId)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceAsync​(@NotNull java.util.UUID uniqueId)  
      @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudServiceByName​(@NotNull java.lang.String name)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceByNameAsync​(@NotNull java.lang.String name)  
      java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices()  
      java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices​(@NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)  
      java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices​(@NotNull java.lang.String taskName)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync​(@NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync​(@NotNull java.lang.String taskName)  
      java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServicesByGroup​(@NotNull java.lang.String group)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesByGroupAsync​(@NotNull java.lang.String group)  
      de.dytanic.cloudnet.driver.network.INetworkChannel getNetworkChannel()  
      java.util.Collection<java.util.UUID> getServicesAsUniqueId()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>> getServicesAsUniqueIdAsync()  
      int getServicesCount()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountAsync()  
      int getServicesCountByGroup​(@NotNull java.lang.String group)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByGroupAsync​(@NotNull java.lang.String group)  
      int getServicesCountByTask​(@NotNull java.lang.String taskName)  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByTaskAsync​(@NotNull java.lang.String taskName)  
      java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getStartedCloudServices()  
      @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getStartedCloudServicesAsync()  
      • 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

      • WrapperGeneralCloudServiceProvider

        public WrapperGeneralCloudServiceProvider​(Wrapper wrapper)
    • Method Detail

      • getServicesAsUniqueId

        public java.util.Collection<java.util.UUID> getServicesAsUniqueId()
        Specified by:
        getServicesAsUniqueId in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServiceByName

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudServiceByName​(@NotNull
                                                                                                      @NotNull java.lang.String name)
        Specified by:
        getCloudServiceByName in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServices

        public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices()
        Specified by:
        getCloudServices in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getStartedCloudServices

        public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getStartedCloudServices()
        Specified by:
        getStartedCloudServices in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServices

        public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices​(@NotNull
                                                                                                             @NotNull java.lang.String taskName)
        Specified by:
        getCloudServices in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServices

        public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices​(@NotNull
                                                                                                             @NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)
        Specified by:
        getCloudServices in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServicesByGroup

        public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServicesByGroup​(@NotNull
                                                                                                                    @NotNull java.lang.String group)
        Specified by:
        getCloudServicesByGroup in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudService

        @Nullable
        public @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudService​(@NotNull
                                                                                                @NotNull java.util.UUID uniqueId)
        Specified by:
        getCloudService in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCount

        public int getServicesCount()
        Specified by:
        getServicesCount in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCountByGroup

        public int getServicesCountByGroup​(@NotNull
                                           @NotNull java.lang.String group)
        Specified by:
        getServicesCountByGroup in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCountByTask

        public int getServicesCountByTask​(@NotNull
                                          @NotNull java.lang.String taskName)
        Specified by:
        getServicesCountByTask in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesAsUniqueIdAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>> getServicesAsUniqueIdAsync()
        Specified by:
        getServicesAsUniqueIdAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServiceByNameAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceByNameAsync​(@NotNull
                                                                                                                                                       @NotNull java.lang.String name)
        Specified by:
        getCloudServiceByNameAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServicesAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync()
        Specified by:
        getCloudServicesAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getStartedCloudServicesAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getStartedCloudServicesAsync()
        Specified by:
        getStartedCloudServicesAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServicesAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync​(@NotNull
                                                                                                                                                                        @NotNull java.lang.String taskName)
        Specified by:
        getCloudServicesAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServicesAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync​(@NotNull
                                                                                                                                                                        @NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)
        Specified by:
        getCloudServicesAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServicesByGroupAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesByGroupAsync​(@NotNull
                                                                                                                                                                               @NotNull java.lang.String group)
        Specified by:
        getCloudServicesByGroupAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCountAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountAsync()
        Specified by:
        getServicesCountAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCountByGroupAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByGroupAsync​(@NotNull
                                                                                                                    @NotNull java.lang.String group)
        Specified by:
        getServicesCountByGroupAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getServicesCountByTaskAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByTaskAsync​(@NotNull
                                                                                                                   @NotNull java.lang.String taskName)
        Specified by:
        getServicesCountByTaskAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getCloudServiceAsync

        @NotNull
        public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceAsync​(@NotNull
                                                                                                                                                 @NotNull java.util.UUID uniqueId)
        Specified by:
        getCloudServiceAsync in interface de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
      • getNetworkChannel

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