Skip to content

Commit

Permalink
Polish apache#458 : Add "override" property
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Mar 20, 2019
1 parent a5815ea commit 7bc44d2
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import java.util.Set;

import static org.apache.dubbo.spring.boot.util.DubboUtils.DEFAULT_MULTIPLE_CONFIG_PROPERTY_VALUE;
import static org.apache.dubbo.spring.boot.util.DubboUtils.DEFAULT_OVERRIDE_CONFIG_PROPERTY_VALUE;
import static org.apache.dubbo.spring.boot.util.DubboUtils.DUBBO_PREFIX;

/**
Expand Down Expand Up @@ -267,6 +268,19 @@ static class Config {
*/
private boolean multiple = DEFAULT_MULTIPLE_CONFIG_PROPERTY_VALUE;

/**
* The property name of override Dubbo config
*/
private boolean override = DEFAULT_OVERRIDE_CONFIG_PROPERTY_VALUE;

public boolean isOverride() {
return override;
}

public void setOverride(boolean override) {
this.override = override;
}

public boolean isMultiple() {
return multiple;
}
Expand Down

0 comments on commit 7bc44d2

Please sign in to comment.