Class MetadataLoader (3.16.2)

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 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
String

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