Class ReadEnvironmentPropertyAction

    • Field Detail

      • propertyName

        private final String propertyName
      • defaultValue

        private final String defaultValue
    • Constructor Detail

      • ReadEnvironmentPropertyAction

        public ReadEnvironmentPropertyAction​(String propertyName)
        Construct a new instance.
        Parameters:
        propertyName - the environment property to read
      • ReadEnvironmentPropertyAction

        public ReadEnvironmentPropertyAction​(String propertyName,
                                             String defaultValue)
        Construct a new instance.
        Parameters:
        propertyName - the environment property to read
        defaultValue - the value to return if the property is not present