Uses of Class
eu.cloudnetservice.driver.service.ServiceTask
Packages that use ServiceTask
Package
Description
-
Uses of ServiceTask in eu.cloudnetservice.driver.channel
Methods in eu.cloudnetservice.driver.channel with parameters of type ServiceTaskModifier and TypeMethodDescriptionstatic @NonNull ChannelMessageTargetChannelMessageTarget.servicesByTask(@NonNull ServiceTask task) Get a channel message target that targets all services that are based on the given service task. -
Uses of ServiceTask in eu.cloudnetservice.driver.event.events.task
Fields in eu.cloudnetservice.driver.event.events.task declared as ServiceTaskMethods in eu.cloudnetservice.driver.event.events.task that return ServiceTaskModifier and TypeMethodDescriptionServiceTaskEvent.task()Get the task which is associated with this event.Constructors in eu.cloudnetservice.driver.event.events.task with parameters of type ServiceTaskModifierConstructorDescriptionConstructs a new service task add event.Constructs a new service task event.Constructs a new service task remove event. -
Uses of ServiceTask in eu.cloudnetservice.driver.provider
Methods in eu.cloudnetservice.driver.provider that return ServiceTaskModifier and TypeMethodDescriptionServiceTaskProvider.serviceTask(@NonNull String name) Get a task configuration which has the given name and is registered within the cluster.Methods in eu.cloudnetservice.driver.provider that return types with arguments of type ServiceTaskModifier and TypeMethodDescriptionServiceTaskProvider.serviceTaskAsync(@NonNull String name) Get a task configuration which has the given name and is registered within the cluster.ServiceTaskProvider.serviceTasks()Get all task configurations which are registered within the cluster.ServiceTaskProvider.serviceTasksAsync()Get all task configurations which are registered within the cluster.Methods in eu.cloudnetservice.driver.provider with parameters of type ServiceTaskModifier and TypeMethodDescriptionbooleanServiceTaskProvider.addServiceTask(@NonNull ServiceTask serviceTask) Adds a new task configuration by caching the given object, creating the task file and syncing the change to all other nodes which are currently connected in the cluster.ServiceTaskProvider.addServiceTaskAsync(@NonNull ServiceTask serviceTask) Adds a new task configuration by caching the given object, creating the task file and syncing the change to all other nodes which are currently connected in the cluster.voidServiceTaskProvider.removeServiceTask(@NonNull ServiceTask serviceTask) Deletes the task configuration with the given name on the local node and all other nodes in the cluster by removing it from the backing collection and deleting the associated file.ServiceTaskProvider.removeServiceTaskAsync(@NonNull ServiceTask serviceTask) Deletes the task configuration with the given name on the local node and all other nodes in the cluster by removing it from the backing collection and deleting the associated file. -
Uses of ServiceTask in eu.cloudnetservice.driver.service
Subclasses with type arguments of type ServiceTask in eu.cloudnetservice.driver.serviceMethods in eu.cloudnetservice.driver.service that return ServiceTaskModifier and TypeMethodDescriptionServiceTask.Builder.build()Builds an instance of the service configuration type this builder is targeting.ServiceTask.clone()Methods in eu.cloudnetservice.driver.service with parameters of type ServiceTaskModifier and TypeMethodDescriptionServiceConfiguration.builder(@NonNull ServiceTask task) Creates a new builder instance for a service configuration which has the same options set as the given service task.static ServiceTask.BuilderServiceTask.builder(@NonNull ServiceTask serviceTask) Constructs a new builder for a service task which has the same properties set than the given service task.