Class SystemPropertiesWrapper


  • public class SystemPropertiesWrapper
    extends Object
    Wrapper which defines a simple dependency injectable dependency for code wishing to access system properties.
    • Constructor Detail

      • SystemPropertiesWrapper

        public SystemPropertiesWrapper()
    • Method Detail

      • getAsInt

        public int getAsInt​(String key,
                            int def)
        Parameters:
        key - System Properties key to retrieve the value for.
        def - Default if no value is found.
        Returns:
        Possibly null string.