| Package | Description |
|---|---|
| ch.jalu.configme | |
| ch.jalu.configme.migration | |
| ch.jalu.configme.migration.version | |
| ch.jalu.configme.utils |
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable MigrationService |
SettingsManagerImpl.getMigrationService() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull SettingsManagerBuilder |
SettingsManagerBuilder.migrationService(@Nullable MigrationService migrationService)
Sets the given migration service to the builder.
|
| Constructor and Description |
|---|
SettingsManagerImpl(@NotNull PropertyResource resource,
@NotNull ConfigurationData configurationData,
@Nullable MigrationService migrationService)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlainMigrationService
Simple migration service that can be extended.
|
| Modifier and Type | Class and Description |
|---|---|
class |
VersionMigrationService
Version-based
MigrationService implementation that uses a Property<Integer> to track configuration
versions, based on which it triggers migrations. |
| Modifier and Type | Method and Description |
|---|---|
void |
SettingsHolderClassValidator.validateConfigurationDataValidForMigrationService(@NotNull ConfigurationData configurationData,
@NotNull PropertyResource resource,
@NotNull MigrationService migrationService)
Validates that the migration service does not declare that a migration is required for the given
configuration data, which gets saved to the provided resource beforehand.
|
Copyright © 2016–2023 The AuthMe Team. All rights reserved.