Class MetadataLoader (3.5.3)

public final class MetadataLoader

Inheritance

java.lang.Object > MetadataLoader

Constructors

MetadataLoader(ResourceTypeEnvironmentGetter getter)

public MetadataLoader(ResourceTypeEnvironmentGetter getter)
Parameter
NameDescription
getterResourceTypeEnvironmentGetter

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

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.