Class EmptyConfigurationProperties

java.lang.Object
org.opensaml.core.config.provider.EmptyConfigurationProperties
All Implemented Interfaces:
ConfigurationProperties

public class EmptyConfigurationProperties extends Object implements ConfigurationProperties
An implementation of ConfigurationProperties that is empty.
  • Constructor Details

    • EmptyConfigurationProperties

      public EmptyConfigurationProperties()
  • Method Details

    • getProperty

      @Nullable public String getProperty(@Nonnull String key)
      Return the property value with the specified key, or null.
      Specified by:
      getProperty in interface ConfigurationProperties
      Parameters:
      key - the property key
      Returns:
      the property value, or null
    • getProperty

      @Nonnull public String getProperty(@Nonnull String key, @Nonnull String defaultValue)
      Return the property value with the specified key, or the specified default value if key does not exist.
      Specified by:
      getProperty in interface ConfigurationProperties
      Parameters:
      key - the property key
      defaultValue - the default value to return
      Returns:
      the property value, or the specified default value