Interface PropertyLookup

All Known Subinterfaces:
PropertyManager
All Known Implementing Classes:
EnvVarPropertyLookup, StandardPropertyLookup, StandardPropertyManager

public interface PropertyLookup
Something for looking up properties.
Author:
rob
  • Field Details

    • SYSTEM_PROPERTY_SOURCE

      static final PropertySource SYSTEM_PROPERTY_SOURCE
  • Method Details

    • lookup

      String lookup(String propertyName)
      Return the value of a property, or null if it doesn't exist.
      Parameters:
      propertyName - The name of the property.
      Returns:
      The value or null.
    • sourceFor

      PropertySource sourceFor(String propertyName)
      Return a source for the property.
      Parameters:
      propertyName - The property name.
      Returns:
      The source, or null if the property isn't known.
    • propertyNames

      Set<String> propertyNames()
      Return all property names in this property lookup.
      Returns:
      The property names. Never null.