From efedc03d45358b4fd5270cd5307512171a366742 Mon Sep 17 00:00:00 2001 From: mcilwain Date: Tue, 24 Jan 2017 12:27:36 -0800 Subject: [PATCH] Move more configuration options into YAML config files ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145452311 --- java/google/registry/config/RegistryConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/google/registry/config/RegistryConfig.java b/java/google/registry/config/RegistryConfig.java index b270df5be..e4659baec 100644 --- a/java/google/registry/config/RegistryConfig.java +++ b/java/google/registry/config/RegistryConfig.java @@ -1254,6 +1254,11 @@ public final class RegistryConfig { } } + /** Returns the roid suffix to be used for the roids of all contacts and hosts. */ + public static String getContactAndHostRoidSuffix() { + return CONFIG_SETTINGS.get().registryPolicy.contactAndHostRoidSuffix; + } + /** * Memoizes loading of the {@link RegistryConfigSettings} POJO. *