
io.opentelemetry.javaagent.tooling.EmptyConfigProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-javaagent-tooling Show documentation
Show all versions of opentelemetry-javaagent-tooling Show documentation
Instrumentation of Java libraries using OpenTelemetry.
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.tooling;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;
import java.time.Duration;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import javax.annotation.Nullable;
public enum EmptyConfigProperties implements ConfigProperties {
INSTANCE;
@Nullable
@Override
public String getString(String name) {
return null;
}
@Nullable
@Override
public Boolean getBoolean(String name) {
return null;
}
@Nullable
@Override
public Integer getInt(String name) {
return null;
}
@Nullable
@Override
public Long getLong(String name) {
return null;
}
@Nullable
@Override
public Double getDouble(String name) {
return null;
}
@Nullable
@Override
public Duration getDuration(String name) {
return null;
}
@Override
public List getList(String name) {
return Collections.emptyList();
}
@Override
public Map getMap(String name) {
return Collections.emptyMap();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy