Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
package org.apache.dubbo.configcenter;

/**
* Config change event.
* Config change event, immutable.
*
* @see ConfigChangeType
*/
public class ConfigChangeEvent {
Comment thread
beiwei30 marked this conversation as resolved.
private String key;
private final String key;

private String value;
private ConfigChangeType changeType;
private final String value;
private final ConfigChangeType changeType;

public ConfigChangeEvent(String key, String value) {
this(key, value, ConfigChangeType.MODIFIED);
Expand All @@ -41,23 +41,12 @@ public String getKey() {
return key;
}

public void setKey(String key) {
this.key = key;
}

public String getValue() {
return value;
}

public void setValue(String value) {
this.value = value;
}

public ConfigChangeType getChangeType() {
return changeType;
}

public void setChangeType(ConfigChangeType changeType) {
this.changeType = changeType;
}
}
}