Package | Description |
---|---|
org.apache.tamaya.events |
This package provides the main building blocks for handling configuration changes, such as
ConfigEventManager , ConfigEventListener and
artifacts to describe the changes (delta) of a Configuration or a PropertySource. |
Modifier and Type | Method and Description |
---|---|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.addChange(String key,
String value)
Applies a single key/value change.
|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.addChanges(org.apache.tamaya.Configuration newState)
This method records all changes to be applied to the base property provider/configuration to
achieve the given target state.
|
static ConfigurationChangeBuilder |
ConfigurationChangeBuilder.of()
Creates a new instance current this builder using the current COnfiguration as root resource.
|
static ConfigurationChangeBuilder |
ConfigurationChangeBuilder.of(org.apache.tamaya.Configuration configuration)
Creates a new instance current this builder.
|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.putAll(Map<String,String> changes)
Apply all the given values to the base configuration/properties.
|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.removeAllKeys()
This method will create a change set that clears all entries fromMap the given base configuration/properties.
|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.removeKey(String key,
String... otherKeys)
Marks the given key(s) fromMap the configuration/properties to be removed.
|
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.setTimestamp(long timestamp) |
ConfigurationChangeBuilder |
ConfigurationChangeBuilder.setVersion(String version) |
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.