Interface ResourceTypeEnvironmentGetter (3.18.0)

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

Parameter
Name Description
name String

the name of the metadata server attribute.

Returns
Type Description
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
Name Description
name String

the name of the environment variable

Returns
Type Description
String

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