Class MetadataLoader (3.5.3)

public final class MetadataLoader

Inheritance

java.lang.Object > MetadataLoader

Constructors

MetadataLoader(ResourceTypeEnvironmentGetter getter)

public MetadataLoader(ResourceTypeEnvironmentGetter getter)
Parameter
Name Description
getter ResourceTypeEnvironmentGetter

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

Methods

getValue(MonitoredResourceUtil.Label label)

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

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