Class MetadataLoader (3.13.7)

public final class MetadataLoader

Inheritance

java.lang.Object > MetadataLoader

Static Fields

ENV_FLEXIBLE

public static final String ENV_FLEXIBLE
Field Value
Type Description
String

ENV_STANDARD

public static final String ENV_STANDARD
Field Value
Type Description
String

Constructors

MetadataLoader(ResourceTypeEnvironmentGetter getter)

public MetadataLoader(ResourceTypeEnvironmentGetter getter)
Parameter
Name Description
getter ResourceTypeEnvironmentGetter

Methods

getValue(MonitoredResourceUtil.Label label)

public @Nullable String getValue(MonitoredResourceUtil.Label label)

Loads metadata value for the label argument.

Parameter
Name Description
label MonitoredResourceUtil.Label

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

Returns
Type Description
@org.jspecify.nullness.Nullable java.lang.String

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