Browse Source

Add missing getters/setter

fixes gh-263
pull/267/merge
Spencer Gibb 7 years ago
parent
commit
ac37014f36
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 13
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java

13
spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java

@ -17,6 +17,19 @@ public class AutoServiceRegistrationProperties { @@ -17,6 +17,19 @@ public class AutoServiceRegistrationProperties {
/** Should startup fail if there is no AutoServiceRegistration, default to false. */
private boolean failFast = false;
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public boolean isRegisterManagement() {
return registerManagement;
}
@Deprecated
public boolean shouldRegisterManagement() {
return registerManagement;
}

Loading…
Cancel
Save