Class Properties


  • public class Properties
    extends Object
    Properties helpers
    • Constructor Detail

      • Properties

        public Properties()
    • Method Detail

      • getMandatoryProperty

        public static String getMandatoryProperty​(String name)
      • getMandatoryProperty

        public static String getMandatoryProperty​(String name,
                                                  String def)
        Retrieve properties for system properties if not found then retrieve from environment variables. If still not found and default value is null throw IllegalArgumentException
        Parameters:
        name - the name of the configuration property
        def - the definition of the property
        Returns:
        the properties for system properties