Uses of Class
eu.cloudnetservice.driver.service.ServiceConfiguration.Builder
Packages that use ServiceConfiguration.Builder
-
Uses of ServiceConfiguration.Builder in eu.cloudnetservice.driver.service
Subclasses with type arguments of type ServiceConfiguration.Builder in eu.cloudnetservice.driver.serviceModifier and TypeClassDescriptionstatic classRepresents a builder for a service configuration.Methods in eu.cloudnetservice.driver.service that return ServiceConfiguration.BuilderModifier and TypeMethodDescriptionServiceConfiguration.Builder.allowedNodes(@NonNull Collection<String> allowedNodes) Sets the names of the nodes which are allowed to pick up services created based on the service configuration.ServiceConfiguration.Builder.autoDeleteOnStop(boolean autoDeleteOnStop) Sets whether services created based on the service configuration should get deleted after being stopped.ServiceConfiguration.builder()Constructs a new builder instance for a service configuration.ServiceConfiguration.builder(@NonNull ServiceConfiguration configuration) Creates a new service configuration builder which has the same options set as the given service configuration.ServiceConfiguration.builder(@NonNull ServiceTask task) Creates a new builder instance for a service configuration which has the same options set as the given service task.ServiceConfiguration.Builder.deletedFilesAfterStop(@NonNull Collection<String> deletedFilesAfterStop) Sets the files which should get deleted when stopping a service created based on the configuration.ServiceConfiguration.Builder.environment(@NonNull ServiceEnvironmentType environment) Sets the environment to use for services created based on the service configuration.ServiceConfiguration.Builder.environment(@NonNull String environment) Sets the name of the environment to use for services created based on the service configuration.ServiceConfiguration.Builder.environmentVariables(@NonNull Map<String, String> environmentVariables) Sets the environment variables which should set in the environment the process runs in.ServiceConfiguration.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.ServiceConfiguration.Builder.hostAddress(@Nullable String hostAddress) Sets the host address which all services based on this configuration are bound to.ServiceConfiguration.Builder.javaCommand(@Nullable String javaCommand) Sets the java command to use when starting a service based on the service configuration.ServiceConfiguration.Builder.jvmOptions(@NonNull Collection<String> jvmOptions) Sets the jvm options which should get applied to the service command line.ServiceConfiguration.Builder.maxHeapMemory(int maxHeapMemory) Sets the maximum heap memory (in MB) a service based on this configuration is allowed to allocate.ServiceConfiguration.Builder.modifyDeletedFilesAfterStop(@NonNull Consumer<Collection<String>> modifier) Modifies the files which should get deleted when stopping a service created based on the configuration.ServiceConfiguration.Builder.modifyEnvironmentVariables(@NonNull Consumer<Map<String, String>> modifier) Modifies the environment variables which should get appended to the environment of the process.ServiceConfiguration.Builder.modifyGroups(@NonNull Consumer<Collection<String>> modifier) Modifies the names of the groups which should get included onto any service created based on the service configuration.ServiceConfiguration.Builder.modifyJvmOptions(@NonNull Consumer<Collection<String>> jvmOptions) Modifies the jvm options of this builder.ServiceConfiguration.Builder.modifyProcessParameters(@NonNull Consumer<Collection<String>> modifier) Modifies the process parameters which should get appended to the command line.ServiceConfiguration.Builder.nameSplitter(@NonNull String nameSplitter) Sets the name splitter for services based on the service configuration.Sets the node on which services based on the service configuration should get created and started.ServiceConfiguration.Builder.processConfig(ProcessConfiguration.Builder processConfig) Sets the process configuration builder of this builder.ServiceConfiguration.Builder.processParameters(@NonNull Collection<String> processParameters) Sets the process parameters which should get appended to the command line.ServiceConfiguration.Builder.retryConfiguration(@NonNull ServiceCreateRetryConfiguration retryConfiguration) Sets the creation retry configuration that will be applied to all services which are created based on the configuration.Sets the runtime to use for the service.protected @NonNull ServiceConfiguration.BuilderServiceConfiguration.Builder.self()Get the current instance of the builder, this removes the need for unchecked generics which are annoying.ServiceConfiguration.Builder.serviceId(ServiceId.Builder serviceId) Sets the service id builder of this builder.Sets the start port for services created based on the configuration.ServiceConfiguration.Builder.staticService(boolean staticService) Sets whether services created based on the service configuration should be static or not.ServiceConfiguration.Builder.taskId(int taskId) Sets the base task id for services created based on the service configuration.Sets the task name to use for the created services.Sets the unique id of any service created based on the service configuration.