public interface PropertiesProvider
| Modifier and Type | Method and Description |
|---|---|
default @Nullable java.lang.Boolean |
getBooleanProperty(@NotNull java.lang.String property)
Resolves a boolean property given by it's name.
|
default @Nullable java.lang.Double |
getDoubleProperty(@NotNull java.lang.String property)
Resolves a
Double property given by it's name. |
default @NotNull java.util.List<java.lang.String> |
getList(@NotNull java.lang.String property)
Resolves a list of values for a property given by it's name.
|
@NotNull java.util.Map<java.lang.String,java.lang.String> |
getMap(@NotNull java.lang.String property)
Resolves a map for a property given by it's name.
|
@Nullable java.lang.String |
getProperty(@NotNull java.lang.String property)
Resolves property given by it's name.
|
default @NotNull java.lang.String |
getProperty(@NotNull java.lang.String property,
@NotNull java.lang.String defaultValue)
Resolves property given by it's name.
|
@Nullable
@Nullable java.lang.String getProperty(@NotNull
@NotNull java.lang.String property)
property - - the property namenull if not found.@NotNull
@NotNull java.util.Map<java.lang.String,java.lang.String> getMap(@NotNull
@NotNull java.lang.String property)
property - - the property name@NotNull
default @NotNull java.util.List<java.lang.String> getList(@NotNull
@NotNull java.lang.String property)
property - - the property name@NotNull
default @NotNull java.lang.String getProperty(@NotNull
@NotNull java.lang.String property,
@NotNull
@NotNull java.lang.String defaultValue)
property - - the property namedefaultValue - - the default value if property is not set@Nullable
default @Nullable java.lang.Boolean getBooleanProperty(@NotNull
@NotNull java.lang.String property)
property - - the property name@Nullable
default @Nullable java.lang.Double getDoubleProperty(@NotNull
@NotNull java.lang.String property)
Double property given by it's name.property - - the property name