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 @Nullable BooleangetBoolean(String name)@Nullable DoublegetDouble(String name)@Nullable DurationgetDuration(String name)@Nullable IntegergetInt(String name)List<String>getList(String name)@Nullable LonggetLong(String name)Map<String,String>getMap(String name)@Nullable StringgetString(String name)
-
-
-
Method Detail
-
getString
public @Nullable String getString(String name)
- Specified by:
getStringin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getBoolean
public @Nullable Boolean getBoolean(String name)
- Specified by:
getBooleanin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getInt
public @Nullable Integer getInt(String name)
- Specified by:
getIntin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getLong
public @Nullable Long getLong(String name)
- Specified by:
getLongin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDouble
public @Nullable Double getDouble(String name)
- Specified by:
getDoublein interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
-
getDuration
public @Nullable 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
-
-