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

io.polyglotted.applauncher.settings.SettingsHolder Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
package io.polyglotted.applauncher.settings;

import com.typesafe.config.Config;
import io.polyglotted.applauncher.crypto.CryptoClient;

import java.util.Map;

public interface SettingsHolder {

    Config config();

    default  T proxy(Class configurationInterface) { return proxy(configurationInterface, new CryptoClient()); }

     T proxy(Class configurationInterface, CryptoClient cryptoClient);

    Map asProperties(String prefix, boolean includePrefix);

    boolean hasValue(String name);

    String stringValue(String name);

    int intValue(String name);

    boolean booleanValue(String name);

    long longValue(String name);

    double doubleValue(String name);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy