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 |
---|---|
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.addChanges(org.apache.tamaya.spi.PropertySource newState)
This method records all changes to be applied to the base property provider/configuration to
achieve the given target state.
|
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.deleteAll()
This method will create a change set that clears all entries fromMap the given base configuration/properties.
|
static PropertySourceChangeBuilder |
PropertySourceChangeBuilder.of(org.apache.tamaya.spi.PropertySource source,
ChangeType changeType)
Creates a new instance of this builder.
|
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.putAll(Map<String,String> changes)
Apply all the given values to the base configuration/properties.
|
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.remove(String key,
String... otherKeys)
Marks the given key(s) fromMap the configuration/properties to be removed.
|
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.setChangeType(ChangeType changeType) |
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.setTimestamp(long timestamp) |
PropertySourceChangeBuilder |
PropertySourceChangeBuilder.setVersion(String version) |
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.