Class LuteceOverrideConfigSource

java.lang.Object
fr.paris.lutece.util.LuteceOverrideConfigSource
All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource

public class LuteceOverrideConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
MicroProfile ConfigSource exposing the Lutece override configuration, that is the .properties files located under the override/ and override/plugins directories.

This source declares a higher ordinal than LuteceConfigSource so that the override values take precedence over the base ones when MicroProfile Config resolves a property.

  • Constructor Details

    • LuteceOverrideConfigSource

      public LuteceOverrideConfigSource()
  • Method Details

    • getOrdinal

      public int getOrdinal()
      Specified by:
      getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getPropertyNames

      public Set<String> getPropertyNames()
      Specified by:
      getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getValue

      public String getValue(String strProperty)
      Specified by:
      getValue in interface org.eclipse.microprofile.config.spi.ConfigSource