From ac37014f361336591023222aa8741edca9da7ada Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Fri, 20 Oct 2017 12:51:40 -0400 Subject: [PATCH] Add missing getters/setter fixes gh-263 --- .../AutoServiceRegistrationProperties.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java index b29e3e96..b22b82b1 100644 --- a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java +++ b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/serviceregistry/AutoServiceRegistrationProperties.java @@ -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; }