Uses of Class
eu.cloudnetservice.driver.service.ServiceTemplate
Packages that use ServiceTemplate
Package
Description
-
Uses of ServiceTemplate in eu.cloudnetservice.driver.provider
Methods in eu.cloudnetservice.driver.provider that return types with arguments of type ServiceTemplateModifier and TypeMethodDescriptionSpecificCloudServiceProvider.installedTemplates()Gets the templates that actually are installed on the service.Methods in eu.cloudnetservice.driver.provider with parameters of type ServiceTemplateModifier and TypeMethodDescriptionvoidSpecificCloudServiceProvider.addServiceTemplate(@NonNull ServiceTemplate serviceTemplate) Adds the given service template to the inclusion queue.SpecificCloudServiceProvider.addServiceTemplateAsync(@NonNull ServiceTemplate serviceTemplate) Adds the given service template to the inclusion queue. -
Uses of ServiceTemplate in eu.cloudnetservice.driver.service
Classes in eu.cloudnetservice.driver.service that implement interfaces with type arguments of type ServiceTemplateModifier and TypeClassDescriptionclassA service template holds all files which can be copied onto a service.Fields in eu.cloudnetservice.driver.service declared as ServiceTemplateModifier and TypeFieldDescriptionprotected ServiceTemplateServiceDeployment.Builder.templateprotected final ServiceTemplateServiceDeployment.templateFields in eu.cloudnetservice.driver.service with type parameters of type ServiceTemplateModifier and TypeFieldDescriptionprotected Set<ServiceTemplate> ServiceConfigurationBase.Builder.templatesprotected final Set<ServiceTemplate> ServiceConfigurationBase.templatesMethods in eu.cloudnetservice.driver.service that return ServiceTemplateModifier and TypeMethodDescriptionServiceTemplate.Builder.build()Builds the service template based on this builder.ServiceTemplate.clone()static @Nullable ServiceTemplateParses a service template from the given input string if possible.ServiceDeployment.template()Get the template to which this deployment (and therefore the service files) should get copied.Methods in eu.cloudnetservice.driver.service that return types with arguments of type ServiceTemplateModifier and TypeMethodDescriptionServiceConfigurationBase.templates()Get all templates that should get copied onto services created based on this configuration when preparing.Methods in eu.cloudnetservice.driver.service with parameters of type ServiceTemplateModifier and TypeMethodDescriptionstatic @NonNull ServiceTemplate.BuilderServiceTemplate.builder(@NonNull ServiceTemplate template) Constructs a new builder for a service template which has all properties of the given template already set.ServiceTemplate.compareTo(@NonNull ServiceTemplate serviceTemplate) ServiceDeployment.Builder.template(@NonNull ServiceTemplate template) Sets the target template of the deployment.Method parameters in eu.cloudnetservice.driver.service with type arguments of type ServiceTemplateModifier and TypeMethodDescriptionServiceConfigurationBase.Builder.modifyTemplates(@NonNull Consumer<Collection<ServiceTemplate>> modifier) Modifies the templates which should get loaded onto a service before it starts.ServiceConfigurationBase.Builder.templates(@NonNull Collection<ServiceTemplate> templates) Sets all templates which should get loaded onto a service before it starts.Constructors in eu.cloudnetservice.driver.service with parameters of type ServiceTemplateModifierConstructorDescriptionprotectedServiceDeployment(@NonNull ServiceTemplate template, @NonNull Collection<Pattern> excludes, @NonNull Collection<Pattern> includes, @NonNull Document properties) Constructs a new service deployment instance.Constructor parameters in eu.cloudnetservice.driver.service with type arguments of type ServiceTemplateModifierConstructorDescriptionprotectedServiceConfigurationBase(@NonNull Set<ServiceTemplate> templates, @NonNull Set<ServiceDeployment> deployments, @NonNull Set<ServiceRemoteInclusion> includes, @NonNull Document properties) Constructs a new service configuration base instance. -
Uses of ServiceTemplate in eu.cloudnetservice.driver.template
Methods in eu.cloudnetservice.driver.template that return types with arguments of type ServiceTemplateModifier and TypeMethodDescriptionTemplateStorage.templates()Gets a list of all templates that exist in this storage.TemplateStorage.templatesAsync()Gets a list of all templates that exist in this storage.Methods in eu.cloudnetservice.driver.template with parameters of type ServiceTemplateModifier and TypeMethodDescriptionTemplateStorage.appendOutputStream(@NonNull ServiceTemplate template, @NonNull String path) Creates a new output stream which appends to the file at the given path in the given template in this storage.TemplateStorage.appendOutputStreamAsync(@NonNull ServiceTemplate template, @NonNull String path) Creates a new output stream which appends to the file at the given path in the given template in this storage.booleanTemplateStorage.contains(@NonNull ServiceTemplate template) Checks if this template storage contains any data associated with the given template.TemplateStorage.containsAsync(@NonNull ServiceTemplate template) Checks if this template storage contains any data associated with the given template.booleanTemplateStorage.create(@NonNull ServiceTemplate template) Creates the given template in this template storage if it doesn't exist already.TemplateStorage.createAsync(@NonNull ServiceTemplate template) Creates the given template in this template storage if it doesn't exist already.booleanTemplateStorage.createDirectory(@NonNull ServiceTemplate template, @NonNull String path) Creates a new, empty directory at the given path in the given template in this storage if the directory didn't exist already.TemplateStorage.createDirectoryAsync(@NonNull ServiceTemplate template, @NonNull String path) Creates a new, empty directory at the given path in the given template in this storage if the directory didn't exist already.booleanTemplateStorage.createFile(@NonNull ServiceTemplate template, @NonNull String path) Creates a new, empty file at the given path in the given template in this storage if the file didn't exist already.TemplateStorage.createFileAsync(@NonNull ServiceTemplate template, @NonNull String path) Creates a new, empty file at the given path in the given template in this storage if the file didn't exist already.booleanTemplateStorage.delete(@NonNull ServiceTemplate template) Deletes the given template completely from this template storage.TemplateStorage.deleteAsync(@NonNull ServiceTemplate template) Deletes the given template completely from this template storage.booleanTemplateStorage.deleteFile(@NonNull ServiceTemplate template, @NonNull String path) Deletes the given file at the given path in the given template in this storage.TemplateStorage.deleteFileAsync(@NonNull ServiceTemplate template, @NonNull String path) Deletes the given file at the given path in the given template in this storage.booleanTemplateStorage.deploy(@NonNull ServiceTemplate target, @NonNull InputStream inputStream) Deploys all files in the given input stream to the given target template.TemplateStorage.deployAsync(@NonNull ServiceTemplate target, @NonNull InputStream inputStream) Deploys all files in the given input stream to the given target template.default booleanTemplateStorage.deployDirectory(@NonNull ServiceTemplate target, @NonNull Path directory) Deploys all files in the given directory to the associated target in this template storage for the given template.booleanTemplateStorage.deployDirectory(@NonNull ServiceTemplate target, @NonNull Path directory, @Nullable Predicate<Path> filter) Deploys all files in the given directory to the associated target in this template storage for the given template.default @NonNull CompletableFuture<Boolean> TemplateStorage.deployDirectoryAsync(@NonNull ServiceTemplate target, @NonNull Path directory) Deploys all files in the given directory to the associated target in this template storage for the given template.TemplateStorage.deployDirectoryAsync(@NonNull ServiceTemplate target, @NonNull Path directory, @Nullable Predicate<Path> filter) Deploys all files in the given directory to the associated target in this template storage for the given template.TemplateStorage.fileInfo(@NonNull ServiceTemplate template, @NonNull String path) Retrieves information about the specified file or directory at the given path in the given template in this storage.TemplateStorage.fileInfoAsync(@NonNull ServiceTemplate template, @NonNull String path) Retrieves information about the specified file or directory at the given path in the given template in this storage.booleanTemplateStorage.hasFile(@NonNull ServiceTemplate template, @NonNull String path) Checks if a file or directory exists at the given path in the given template in this template storage.TemplateStorage.hasFileAsync(@NonNull ServiceTemplate template, @NonNull String path) Checks if a file or directory exists at the given path in the given template in this template storage.TemplateStorage.listFiles(@NonNull ServiceTemplate template, @NonNull String dir, boolean deep) Lists all files in the given directory and computes a file information of them.TemplateStorage.listFilesAsync(@NonNull ServiceTemplate template, @NonNull String dir, boolean deep) Lists all files in the given directory and computes a file information of them.TemplateStorage.newInputStream(@NonNull ServiceTemplate template, @NonNull String path) Opens a new input stream to read the content of the file at the given path in the given template in this storage.TemplateStorage.newInputStreamAsync(@NonNull ServiceTemplate template, @NonNull String path) Opens a new input stream to read the content of the file at the given path in the given template in this storage.TemplateStorage.newOutputStream(@NonNull ServiceTemplate template, @NonNull String path) Creates a new output stream which overrides the content of the file at the given path in the given template in this storage.TemplateStorage.newOutputStreamAsync(@NonNull ServiceTemplate template, @NonNull String path) Creates a new output stream which overrides the content of the file at the given path in the given template in this storage.default @Nullable ZipInputStreamTemplateStorage.openZipInputStream(@NonNull ServiceTemplate template) Pulls the data of the given template into a temporary directory and zip it.TemplateStorage.openZipInputStreamAsync(@NonNull ServiceTemplate template) Pulls the data of the given template into a temporary directory and zip it.booleanTemplateStorage.pull(@NonNull ServiceTemplate template, @NonNull Path directory) Pulls the template data which is stored in this template storage to the given directory.TemplateStorage.pullAsync(@NonNull ServiceTemplate template, @NonNull Path directory) Pulls the template data which is stored in this template storage to the given directory.TemplateStorage.zipTemplate(@NonNull ServiceTemplate template) Pulls the data of the given template into a temporary directory and zip it.TemplateStorage.zipTemplateAsync(@NonNull ServiceTemplate template) Pulls the data of the given template into a temporary directory and zip it.