blocks.service.ServiceConfig Maven / Gradle / Ivy
package blocks.service;
import com.typesafe.config.Config;
import java.time.Duration;
import java.util.List;
import java.util.Map;
import java.util.Optional;
public interface ServiceConfig {
String getEnv();
String getHost();
Optional getHttpPort();
Optional getHttpsPort();
String getString(String path);
int getInt(String path);
Duration getDuration(String path);
List getStringList(final String path);
Map getStringMap(String path);
boolean getBoolean(String path);
boolean hasPath(String path);
BlockConfig getBlockConfig(String path);
Config asTypesafeConfig();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy