All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.avivcarmis.confEager.sources.ConfEagerSourceEnvironmentVariables Maven / Gradle / Ivy

Go to download

Super simplistic and dynamic eager-initialization configuration library for Java.

The newest version!
package io.github.avivcarmis.confEager.sources;

import io.github.avivcarmis.confEager.ConfEagerSource;

/**
 * Out of the box source to map Environment Variables
 */
public class ConfEagerSourceEnvironmentVariables extends ConfEagerSource {

    public static final ConfEagerSource INSTANCE = new ConfEagerSourceEnvironmentVariables();

    @Override
    public String getValueOrNull(String propertyName) {
        return System.getenv(propertyName);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy