public final class PropertyChangeSet extends Object implements Serializable
PropertySource
. Any values must
be obtained by calling the Configuration
due to security reasons. This event can be used
by the PropertySource
implementation to cleanup caches as needed.
This class is immutable and thread-safe. To create instances use
PropertyChangeSetBuilder
.Modifier and Type | Method and Description |
---|---|
Collection<String> |
getKeysAdded()
Get the keys added.
|
Collection<String> |
getKeysRemoved()
Get the keys removed.
|
Collection<String> |
getKeysUpdated()
Get the updated keys.
|
String |
getPropertySourceName()
Get the underlying property provider/configuration.
|
long |
getTimestamp()
Get the timestamp of this changeset.
|
boolean |
isEmpty()
CHecks if the current change set does not contain any changes.
|
String |
toString() |
public String getPropertySourceName()
public long getTimestamp()
public Collection<String> getKeysAdded()
public Collection<String> getKeysRemoved()
public Collection<String> getKeysUpdated()
public boolean isEmpty()
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.