Class VaultConfigSource
java.lang.Object
fr.paris.lutece.util.configsource.VaultConfigSource
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class VaultConfigSource
extends 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 -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name.intGets the ordinal.Gets the property names.Gets the value.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
getProperties
-
Constructor Details
-
VaultConfigSource
public VaultConfigSource() throws com.bettercloud.vault.VaultExceptionInstantiates a new vault config source.- Throws:
com.bettercloud.vault.VaultException
-
-
Method Details
-
getOrdinal
public int getOrdinal()Gets the ordinal.- Specified by:
getOrdinalin interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Returns:
- the ordinal
-
getName
Gets the name.- Specified by:
getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Returns:
- the name
-
getPropertyNames
Gets the property names.- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Returns:
- the property names
-
getValue
Gets the value.- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource- Parameters:
strProperty- the str property- Returns:
- the value
-