Uses of Interface
eu.cloudnetservice.driver.document.DocumentFactory
Packages that use DocumentFactory
Package
Description
-
Uses of DocumentFactory in eu.cloudnetservice.driver.document
Methods in eu.cloudnetservice.driver.document that return DocumentFactoryModifier and TypeMethodDescriptionstatic @NonNull DocumentFactoryDocumentFactory.json()Gets the jvm static document factory for json documents.Methods in eu.cloudnetservice.driver.document with parameters of type DocumentFactoryModifier and TypeMethodDescriptionstatic Document.MutableDocument.newDocument(@NonNull DocumentFactory factory) Constructs a new document instance using the given document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.document.send
Methods in eu.cloudnetservice.driver.document.send with parameters of type DocumentFactoryModifier and TypeMethodDescriptionDocumentSend.into(@NonNull DocumentFactory factory) Receives this document into the given document factory. -
Uses of DocumentFactory in eu.cloudnetservice.driver.module.driver
Methods in eu.cloudnetservice.driver.module.driver with parameters of type DocumentFactoryModifier and TypeMethodDescriptionDriverModule.readConfig(@NonNull DocumentFactory factory) Reads the configuration file of this module from the default or overridden configuration path (via module.json) into a json document, throwing an exception when the document is invalid.<T> TDriverModule.readConfig(@NonNull Class<T> configModelType, @NonNull Supplier<T> defaultConfigFactory, @NonNull DocumentFactory documentFactory) Reads the config of this module to the given model type, creating a new configuration if necessary.<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary.<C,T> T DriverModule.readConfigAndInstantiate(@NonNull InjectionLayer<?> injectionLayer, @NonNull Class<C> configModelType, @NonNull Supplier<C> defaultConfigFactory, @NonNull Class<T> classToInstantiate, @NonNull UnaryOperator<InjectionRequest<T>> decorator, @NonNull DocumentFactory documentFactory) Reads the module configuration file and converts the type of the configuration to the given model type, creating the configuration if necessary.