public interface MutableConfiguration extends Configuration
Modifier and Type | Method and Description |
---|---|
Object |
remove(String key)
Removes a key from this configuration.
|
<T> T |
removeAs(String key)
Removes a key from this configuration.
|
<T> T |
removeConverted(String key,
Class<T> type)
Removes a key from this configuration.
|
void |
set(String key,
Object value)
Sets a key/value pair on this configuration.
|
asFlatMap, asProperties, asResourceBundle, containsKey, get, get, getAs, getAs, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAsString, getAt, getAt, getConverted, getConverted, getConverted, getConverted
void set(@Nonnull String key, @Nonnull Object value)
key
- the key to be registeredvalue
- the value to save@Nullable Object remove(@Nonnull String key)
key
- the key to be removed@Nullable <T> T removeAs(@Nonnull String key)
key
- the key to be removed@Nullable <T> T removeConverted(@Nonnull String key, @Nonnull Class<T> type)
PropertyEditor
.key
- the key to be removedtype
- the type to be returned