public class ConfigurationChangeEvent extends Object
| 构造器和说明 |
|---|
ConfigurationChangeEvent() |
ConfigurationChangeEvent(String dataId,
String newValue) |
ConfigurationChangeEvent(String dataId,
String namespace,
String oldValue,
String newValue,
ConfigurationChangeType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigurationChangeType |
getChangeType()
Gets change type.
|
String |
getDataId()
Gets data id.
|
String |
getNamespace()
Gets namespace.
|
String |
getNewValue()
Gets new value.
|
String |
getOldValue()
Gets old value.
|
ConfigurationChangeEvent |
setChangeType(ConfigurationChangeType changeType)
Sets change type.
|
ConfigurationChangeEvent |
setDataId(String dataId)
Sets data id.
|
ConfigurationChangeEvent |
setNamespace(String namespace)
Sets namespace.
|
ConfigurationChangeEvent |
setNewValue(String newValue)
Sets new value.
|
ConfigurationChangeEvent |
setOldValue(String oldValue)
Sets old value.
|
public ConfigurationChangeEvent()
public ConfigurationChangeEvent(String dataId, String namespace, String oldValue, String newValue, ConfigurationChangeType type)
public String getDataId()
public ConfigurationChangeEvent setDataId(String dataId)
dataId - the data idpublic String getOldValue()
public ConfigurationChangeEvent setOldValue(String oldValue)
oldValue - the old valuepublic String getNewValue()
public ConfigurationChangeEvent setNewValue(String newValue)
newValue - the new valuepublic ConfigurationChangeType getChangeType()
public ConfigurationChangeEvent setChangeType(ConfigurationChangeType changeType)
changeType - the change typepublic String getNamespace()
public ConfigurationChangeEvent setNamespace(String namespace)
namespace - the namespaceCopyright © 2020 Seata. All rights reserved.