Class ConfigService

  • All Implemented Interfaces:
    Serializable

    public class ConfigService
    extends Object
    implements Serializable
    The ConfigService is used to provide static String and environment access methods.
    Version:
    1.0
    Author:
    rsoika
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigService

        public ConfigService()
    • Method Detail

      • getEnv

        public static String getEnv​(String env,
                                    String defaultValue)
        Returns a environment variable. An environment variable can be provided as a System property.
        Parameters:
        env - - environment variable name
        defaultValue - - optional default value
        Returns:
        value