Class ConfigPropertiesAdapter
- java.lang.Object
-
- io.opentelemetry.javaagent.tooling.config.ConfigPropertiesAdapter
-
- All Implemented Interfaces:
io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
public final class ConfigPropertiesAdapter extends Object implements io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertiesAdapter(io.opentelemetry.instrumentation.api.config.Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetBoolean(String name)DoublegetDouble(String name)DurationgetDuration(String name)IntegergetInt(String name)List<String>getList(String name)LonggetLong(String name)Map<String,String>getMap(String name)StringgetString(String name)
-
-
-
Method Detail
-
getString
@Nullable public String getString(String name)
- Specified by:
getStringin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getBoolean
@Nullable public Boolean getBoolean(String name)
- Specified by:
getBooleanin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getInt
@Nullable public Integer getInt(String name)
- Specified by:
getIntin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getLong
@Nullable public Long getLong(String name)
- Specified by:
getLongin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDouble
@Nullable public Double getDouble(String name)
- Specified by:
getDoublein interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDuration
@Nullable public Duration getDuration(String name)
- Specified by:
getDurationin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getList
public List<String> getList(String name)
- Specified by:
getListin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
-