Class DefaultEmptyCloudService

    • Field Detail

      • serviceConfiguration

        protected final de.dytanic.cloudnet.driver.service.ServiceConfiguration serviceConfiguration
      • lifeCycle

        protected volatile de.dytanic.cloudnet.driver.service.ServiceLifeCycle lifeCycle
      • serviceInfoSnapshot

        protected volatile de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot
      • lastServiceInfoSnapshot

        protected volatile de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot lastServiceInfoSnapshot
    • Constructor Detail

      • DefaultEmptyCloudService

        public DefaultEmptyCloudService​(@NotNull
                                        @NotNull java.lang.String runtime,
                                        @NotNull
                                        @NotNull ICloudServiceManager cloudServiceManager,
                                        @NotNull
                                        @NotNull de.dytanic.cloudnet.driver.service.ServiceConfiguration serviceConfiguration,
                                        @NotNull
                                        @NotNull CloudServiceHandler handler)
    • Method Detail

      • getRuntime

        @NotNull
        public @NotNull java.lang.String getRuntime()
        Specified by:
        getRuntime in interface ICloudService
      • getJavaCommand

        @Nullable
        public @Nullable java.lang.String getJavaCommand()
        Specified by:
        getJavaCommand in interface ICloudService
      • getServiceId

        @NotNull
        public @NotNull de.dytanic.cloudnet.driver.service.ServiceId getServiceId()
        Specified by:
        getServiceId in interface ICloudService
      • getLifeCycle

        @NotNull
        public @NotNull de.dytanic.cloudnet.driver.service.ServiceLifeCycle getLifeCycle()
        Specified by:
        getLifeCycle in interface ICloudService
      • getServiceConfiguration

        @NotNull
        public @NotNull de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
        Specified by:
        getServiceConfiguration in interface ICloudService
      • getGroups

        public java.util.List<java.lang.String> getGroups()
        Specified by:
        getGroups in interface ICloudService
      • getNetworkChannel

        public de.dytanic.cloudnet.driver.network.INetworkChannel getNetworkChannel()
        Specified by:
        getNetworkChannel in interface ICloudService
      • setNetworkChannel

        public void setNetworkChannel​(@NotNull
                                      @NotNull de.dytanic.cloudnet.driver.network.INetworkChannel networkChannel)
        Specified by:
        setNetworkChannel in interface ICloudService
      • getServiceInfoSnapshot

        @NotNull
        public @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getServiceInfoSnapshot()
        Specified by:
        getServiceInfoSnapshot in interface ICloudService
      • setServiceInfoSnapshot

        protected void setServiceInfoSnapshot​(@NotNull
                                              @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)
      • getLastServiceInfoSnapshot

        @NotNull
        public @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getLastServiceInfoSnapshot()
        Specified by:
        getLastServiceInfoSnapshot in interface ICloudService