io.polyglotted.applauncher.settings.SettingsHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of app-launcher Show documentation
Show all versions of app-launcher Show documentation
Launch an in-process application
The 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 {
@SuppressWarnings("unused") 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, String defValue);
String stringValue(String name);
int intValue(String name, int defValue);
int intValue(String name);
boolean booleanValue(String name, boolean defValue);
boolean booleanValue(String name);
long longValue(String name, long defValue);
long longValue(String name);
double doubleValue(String name, double defValue);
double doubleValue(String name);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy