| Package | Description |
|---|---|
| ch.jalu.configme |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SettingsManagerBuilder |
SettingsManagerBuilder.configurationData(Class<? extends SettingsHolder>... classes)
Sets up configuration data with the input of the given settings holder classes.
|
@NotNull SettingsManagerBuilder |
SettingsManagerBuilder.configurationData(@NotNull ConfigurationData configurationData)
Sets the provided configuration data to the builder.
|
@NotNull SettingsManagerBuilder |
SettingsManagerBuilder.migrationService(@Nullable MigrationService migrationService)
Sets the given migration service to the builder.
|
@NotNull SettingsManagerBuilder |
SettingsManagerBuilder.useDefaultMigrationService()
Registers the default migration service to the builder, which triggers a rewrite of the
configuration file if a property is missing from it.
|
static @NotNull SettingsManagerBuilder |
SettingsManagerBuilder.withResource(@NotNull PropertyResource resource)
Creates a new builder with the given property resource.
|
static @NotNull SettingsManagerBuilder |
SettingsManagerBuilder.withYamlFile(@NotNull File file)
Creates a builder, using the given YAML file to use as property resource.
|
static @NotNull SettingsManagerBuilder |
SettingsManagerBuilder.withYamlFile(@NotNull File file,
@NotNull YamlFileResourceOptions resourceOptions)
Creates a builder, using the given YAML file to use as property resource with the given options.
|
static @NotNull SettingsManagerBuilder |
SettingsManagerBuilder.withYamlFile(@NotNull Path file)
Creates a builder, using the given YAML file to use as property resource.
|
static @NotNull SettingsManagerBuilder |
SettingsManagerBuilder.withYamlFile(@NotNull Path path,
@NotNull YamlFileResourceOptions resourceOptions)
Creates a builder, using the given YAML file to use as property resource with the given options.
|
Copyright © 2016–2023 The AuthMe Team. All rights reserved.