Class PropertiesManager


  • public class PropertiesManager
    extends Object
    • Constructor Detail

      • PropertiesManager

        public PropertiesManager()
    • Method Detail

      • getPropertyOrException

        public static String getPropertyOrException​(String property,
                                                    String exceptionMessage)
      • getProperty

        public static String getProperty​(String property)
      • getProperty

        public static int getProperty​(String property,
                                      int defaultValue)
      • getProperty

        public static double getProperty​(String property,
                                         double defaultValue)
      • getProperty

        public static long getProperty​(String property,
                                       long defaultValue)
      • getProperty

        public static String getProperty​(String property,
                                         String defaultValue)
      • getProperty

        public static <E extends Enum<E>> E getProperty​(String property,
                                                        E defaultValue)
      • getProperty

        public static boolean getProperty​(String property,
                                          boolean defaultValue)
      • getPropertyJson

        public static <T extends com.google.gson.JsonElement> T getPropertyJson​(String property,
                                                                                String defaultValue,
                                                                                Class<T> clazz)
      • getPropertyJson

        public static <T> T getPropertyJson​(String property,
                                            String defaultValue,
                                            Type classOfT)