public class ConfigChange extends Object
| Constructor and Description |
|---|
ConfigChange(String namespace,
String propertyName,
String oldValue,
String newValue,
PropertyChangeType changeType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyChangeType |
getChangeType() |
String |
getNamespace() |
String |
getNewValue() |
String |
getOldValue() |
String |
getPropertyName() |
void |
setChangeType(PropertyChangeType changeType) |
void |
setNewValue(String newValue) |
void |
setOldValue(String oldValue) |
String |
toString() |
public ConfigChange(String namespace, String propertyName, String oldValue, String newValue, PropertyChangeType changeType)
namespace - the namespace of the keypropertyName - the key whose value is changedoldValue - the value before changenewValue - the value after changechangeType - the change typepublic String getPropertyName()
public String getOldValue()
public String getNewValue()
public PropertyChangeType getChangeType()
public void setOldValue(String oldValue)
public void setNewValue(String newValue)
public void setChangeType(PropertyChangeType changeType)
public String getNamespace()
Copyright © 2022 Ctrip, Inc.. All rights reserved.