| Package | Description |
|---|---|
| ch.jalu.configme | |
| ch.jalu.configme.configurationdata | |
| ch.jalu.configme.migration.version | |
| ch.jalu.configme.properties | |
| ch.jalu.configme.utils |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
SettingsManager.getProperty(@NotNull Property<T> property)
Gets the given property from the configuration.
|
<T> T |
SettingsManagerImpl.getProperty(@NotNull Property<T> property)
Gets the given property from the configuration.
|
<T> void |
SettingsManager.setProperty(@NotNull Property<T> property,
T value)
Sets a new value for the given property.
|
<T> void |
SettingsManagerImpl.setProperty(@NotNull Property<T> property,
T value)
Sets a new value for the given property.
|
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable Property<?> |
ConfigurationDataBuilder.getPropertyField(@NotNull Field field)
Returns the given field's value if it is a static
Property. |
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyListBuilder.add(@NotNull Property<?> property)
Adds the property to the list builder.
|
<T> T |
ConfigurationDataImpl.getValue(@NotNull Property<T> property) |
<T> T |
ConfigurationData.getValue(@NotNull Property<T> property)
Returns the value associated with the given property.
|
<T> void |
ConfigurationDataImpl.setValue(@NotNull Property<T> property,
T value) |
<T> void |
ConfigurationData.setValue(@NotNull Property<T> property,
T value)
Sets the given value for the given property.
|
protected <T> boolean |
ConfigurationDataImpl.setValueForProperty(@NotNull Property<T> property,
@NotNull PropertyReader reader) |
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull Property<Integer> |
VersionMigrationService.getVersionProperty() |
| Constructor and Description |
|---|
VersionMigrationService(@NotNull Property<Integer> versionProperty,
@NotNull Iterable<VersionMigration> migrations)
Constructor.
|
VersionMigrationService(@NotNull Property<Integer> versionProperty,
VersionMigration... migrations)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayProperty<T> |
class |
BaseProperty<T>
Base implementation of
Property. |
class |
BeanProperty<T> |
class |
BooleanProperty
Boolean property.
|
class |
DoubleProperty
Double property.
|
class |
EnumProperty<E extends Enum<E>>
Enum property.
|
class |
FloatProperty
Float property.
|
class |
InlineArrayProperty<T>
Array property which reads and stores its value as one String in which the elements
are separated by a delimiter.
|
class |
IntegerProperty
Integer property.
|
class |
ListProperty<T>
List property of a configurable type.
|
class |
LongProperty
Long property.
|
class |
LowercaseStringSetProperty
Property whose value is a String set all in lowercase.
|
class |
MapProperty<V>
Property for an immutable map whose keys is of type String and whose values can be configured.
|
class |
OptionalProperty<T>
Property which may be empty.
|
class |
RegexProperty
Property whose value is a regex pattern.
|
class |
SetProperty<T>
Set property of configurable type.
|
class |
ShortProperty
Short property.
|
class |
StringListProperty
String list property.
|
class |
StringProperty
String property.
|
class |
StringSetProperty
String set property.
|
class |
TypeBasedProperty<T>
Property implementation which relies on a
PropertyType. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Property<T> |
PropertyBuilder.CreateFunction.apply(@NotNull String path,
T defaultValue,
@NotNull PropertyType<K> type) |
abstract @NotNull Property<T> |
PropertyBuilder.build()
Creates a property with the configured details.
|
@NotNull Property<T> |
PropertyBuilder.TypeBasedPropertyBuilder.build() |
@NotNull Property<T[]> |
PropertyBuilder.ArrayPropertyBuilder.build() |
@NotNull Property<T[]> |
PropertyBuilder.InlineArrayPropertyBuilder.build() |
@NotNull Property<List<T>> |
PropertyBuilder.ListPropertyBuilder.build() |
@NotNull Property<Set<T>> |
PropertyBuilder.SetPropertyBuilder.build() |
| Constructor and Description |
|---|
OptionalProperty(@NotNull Property<T> baseProperty) |
OptionalProperty(@NotNull Property<T> baseProperty,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
protected @Nullable Class<? extends Enum<?>> |
SettingsHolderClassValidator.getEnumTypeOfProperty(@NotNull Property<?> property)
Returns the type of the given property if it is an enum, otherwise null.
|
static <T> boolean |
MigrationUtils.moveProperty(@NotNull Property<T> oldProperty,
@NotNull Property<T> newProperty,
@NotNull PropertyReader reader,
@NotNull ConfigurationData configurationData)
Utility method: moves the value of an old property to a new property.
|
static <T> boolean |
MigrationUtils.moveProperty(@NotNull Property<T> oldProperty,
@NotNull Property<T> newProperty,
@NotNull PropertyReader reader,
@NotNull ConfigurationData configurationData)
Utility method: moves the value of an old property to a new property.
|
Copyright © 2016–2023 The AuthMe Team. All rights reserved.