Skip to content

Commit

Permalink
Merge pull request #446 from carl-mastrangelo/readd
Browse files Browse the repository at this point in the history
add back API that was accidentally deleted in refactor
  • Loading branch information
carl-mastrangelo committed Mar 31, 2020
2 parents 1c827ff + 7bd3521 commit e327877
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,18 @@ public String getDefaultPropName(IClientConfigKey propName) {
return getDefaultPropName(propName.key());
}

public String getInstancePropName(String restClientName,
IClientConfigKey configKey) {
return getInstancePropName(restClientName, configKey.key());
}

public String getInstancePropName(String restClientName, String key) {
if (getNameSpace() == null) {
throw new NullPointerException("getNameSpace() may not be null");
}
return restClientName + "." + getNameSpace() + "." + key;
}

public DefaultClientConfigImpl withProperty(IClientConfigKey key, Object value) {
setProperty(key, value);
return this;
Expand Down

0 comments on commit e327877

Please sign in to comment.