Interface ResourceTypeEnvironmentGetter (3.14.6)

public interface ResourceTypeEnvironmentGetter

Methods

getAttribute(String name)

public abstract String getAttribute(String name)

Gets the value of the specified metadata server attribute. See Also: MetadataConfig#getAttribute()

Parameter
NameDescription
nameString

the name of the metadata server attribute.

Returns
TypeDescription
String

the string value of the attribute, or null if the attribute is not defined in the metadata or the server is not available.

getEnv(String name)

public abstract String getEnv(String name)

Gets the value of the specified environment variable. See Also: System#getenv()

Parameter
NameDescription
nameString

the name of the environment variable

Returns
TypeDescription
String

the string value of the variable, or null if the variable is not defined in the system environment