Class VaultConfigSource

  • All Implemented Interfaces:
    org.eclipse.microprofile.config.spi.ConfigSource

    public class VaultConfigSource
    extends java.lang.Object
    implements org.eclipse.microprofile.config.spi.ConfigSource
    The Class VaultConfigSource.
    • Field Summary

      • Fields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource

        CONFIG_ORDINAL, DEFAULT_ORDINAL
    • Constructor Summary

      Constructors 
      Constructor Description
      VaultConfigSource()
      Instantiates a new vault config source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name.
      int getOrdinal()
      Gets the ordinal.
      java.util.Set<java.lang.String> getPropertyNames()
      Gets the property names.
      java.lang.String getValue​(java.lang.String strProperty)
      Gets the value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource

        getProperties
    • Constructor Detail

      • VaultConfigSource

        public VaultConfigSource()
                          throws com.bettercloud.vault.VaultException
        Instantiates a new vault config source.
        Throws:
        com.bettercloud.vault.VaultException
    • Method Detail

      • getOrdinal

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

        public java.lang.String getName()
        Gets the name.
        Specified by:
        getName in interface org.eclipse.microprofile.config.spi.ConfigSource
        Returns:
        the name
      • getPropertyNames

        public java.util.Set<java.lang.String> getPropertyNames()
        Gets the property names.
        Specified by:
        getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
        Returns:
        the property names
      • getValue

        public java.lang.String getValue​(java.lang.String strProperty)
        Gets the value.
        Specified by:
        getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
        Parameters:
        strProperty - the str property
        Returns:
        the value