Uses of Class
eu.cloudnetservice.driver.service.ServiceTask.Builder
Packages that use ServiceTask.Builder
-
Uses of ServiceTask.Builder in eu.cloudnetservice.driver.service
Subclasses with type arguments of type ServiceTask.Builder in eu.cloudnetservice.driver.serviceMethods in eu.cloudnetservice.driver.service that return ServiceTask.BuilderModifier and TypeMethodDescriptionServiceTask.Builder.associatedNodes(@NonNull Collection<String> associatedNodes) Sets the names of the nodes which are allowed to pick up services created based on the service configuration.ServiceTask.Builder.autoDeleteOnStop(boolean autoDeleteOnStop) Sets whether services created based on the service configuration should get deleted after being stopped.static ServiceTask.BuilderServiceTask.builder()Constructs a new builder for a 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.ServiceTask.Builder.deletedFilesAfterStop(@NonNull Collection<String> deletedFilesAfterStop) Sets the files which should get deleted when stopping a service created based on the configuration.ServiceTask.Builder.disableIpRewrite(boolean disableIpRewrite) Sets if rewriting the ip set in the service configuration file (for example the server.properties file) should be disabled and the set ip should be used.ServiceTask.Builder.environmentVariables(@NonNull Map<String, String> environmentVariables) Sets the environment variables which should set in the environment the process runs in.ServiceTask.Builder.groups(@NonNull Collection<String> groups) Sets the names of the groups which should get included onto any service created based on the service configuration.ServiceTask.Builder.hostAddress(@Nullable String hostAddress) Sets the host address which all services of this task are bound to.ServiceTask.Builder.javaCommand(@Nullable String javaCommand) Sets the java command to use when starting a service based on the service configuration.ServiceTask.Builder.jvmOptions(@NonNull Collection<String> jvmOptions) Sets the jvm options which should get applied to the service command line.ServiceTask.Builder.maintenance(boolean maintenance) Sets if this service task is in maintenance.ServiceTask.Builder.maxHeapMemory(int maxHeapMemory) Sets the maximum heap memory (in MB) a service based on this configuration is allowed to allocate.ServiceTask.Builder.minServiceCount(int minServiceCount) Sets the amount of services which should be always online if this task is not in maintenance.ServiceTask.Builder.modifyAssociatedNodes(@NonNull Consumer<Collection<String>> modifier) Modifies nodes which are allowed to pick up services created based on the service configuration.ServiceTask.Builder.modifyDeletedFileAfterStop(@NonNull Consumer<Collection<String>> modifier) Modifies the files which should get deleted when stopping a service created based on the configuration.Modifies the environment variables which should get appended to the environment of the process.ServiceTask.Builder.modifyGroups(@NonNull Consumer<Collection<String>> modifier) Modifies groups which should get included onto any service created based on the service configuration.ServiceTask.Builder.modifyJvmOptions(@NonNull Consumer<Collection<String>> modifier) Modifies the jvm options of this builder.ServiceTask.Builder.modifyProcessParameters(@NonNull Consumer<Collection<String>> modifier) Modifies the process parameters which should get appended to the command line.Sets the name of the service task to use.ServiceTask.Builder.nameSplitter(@NonNull String nameSplitter) Sets the name splitter for services based on the service configuration.ServiceTask.Builder.processConfiguration(ProcessConfiguration.Builder processConfiguration) Sets the process configuration builder of this builder.ServiceTask.Builder.processParameters(@NonNull Collection<String> processParameters) Sets the process parameters which should get appended to the command line.Sets the runtime to use for the service.protected @NonNull ServiceTask.BuilderServiceTask.Builder.self()Get the current instance of the builder, this removes the need for unchecked generics which are annoying.ServiceTask.Builder.serviceEnvironmentType(@NonNull ServiceEnvironmentType serviceEnvironmentType) Sets the environment to use for services created based on the service configuration.ServiceTask.Builder.startPort(int startPort) Sets the start port for services created based on the configuration.ServiceTask.Builder.staticServices(boolean staticServices) Sets whether services created based on the service configuration should be static or not.