Class MetadataLoader (3.12.1)

public final class MetadataLoader

Inheritance

java.lang.Object > MetadataLoader

Static Fields

ENV_FLEXIBLE

public static final String ENV_FLEXIBLE
Field Value
TypeDescription
String

ENV_STANDARD

public static final String ENV_STANDARD
Field Value
TypeDescription
String

Constructors

MetadataLoader(ResourceTypeEnvironmentGetter getter)

public MetadataLoader(ResourceTypeEnvironmentGetter getter)
Parameter
NameDescription
getterResourceTypeEnvironmentGetter

Methods

getValue(MonitoredResourceUtil.Label label)

public @Nullable String getValue(MonitoredResourceUtil.Label label)

Loads metadata value for the label argument.

Parameter
NameDescription
labelMonitoredResourceUtil.Label

A resource metadata label of type {@see MonitoredResourceUtil.Label}

Returns
TypeDescription
@org.jspecify.nullness.Nullable java.lang.String

A string with metadata value or null if the label is not supported.