public class EnhancedConfig
extends scala.AnyVal
Constructor and Description |
---|
EnhancedConfig(com.typesafe.config.Config underlying) |
Modifier and Type | Method and Description |
---|---|
scala.concurrent.duration.FiniteDuration |
getFiniteDuration(java.lang.String path) |
int |
getIntBytes(java.lang.String path) |
long |
getPossiblyInfiniteBytes(java.lang.String path) |
int |
getPossiblyInfiniteInt(java.lang.String path) |
int |
getPossiblyInfiniteIntBytes(java.lang.String path) |
scala.concurrent.duration.Duration |
getPotentiallyInfiniteDuration(java.lang.String path) |
<T> scala.Option<T> |
ifDefined(java.lang.String path,
scala.Function2<com.typesafe.config.Config,java.lang.String,T> f) |
com.typesafe.config.Config |
underlying() |
public com.typesafe.config.Config underlying()
public scala.concurrent.duration.Duration getPotentiallyInfiniteDuration(java.lang.String path)
public scala.concurrent.duration.FiniteDuration getFiniteDuration(java.lang.String path)
public int getPossiblyInfiniteInt(java.lang.String path)
public int getIntBytes(java.lang.String path)
public int getPossiblyInfiniteIntBytes(java.lang.String path)
public long getPossiblyInfiniteBytes(java.lang.String path)
public <T> scala.Option<T> ifDefined(java.lang.String path, scala.Function2<com.typesafe.config.Config,java.lang.String,T> f)