Module com.azure.runtime.host
Class ReferenceExpression
java.lang.Object
com.azure.runtime.host.resources.references.ReferenceExpression
- All Implemented Interfaces:
ValueProvider
,ValueWithReferences
Represents an expression that might be made up of multiple resource properties. For example, a connection string
might be made up of a host, port, and password from different endpoints.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceExpression
Gets the format string for this expression.Gets the manifest expressions for the parameters for the format string.A read-only list of the referenced objects of the value.getValue()
Gets the value of the expression.The value expression for the format string.Gets the list of ValueProvider that will be used to resolve parameters for the format string.
-
Method Details
-
getFormat
Gets the format string for this expression.- Returns:
- The format string.
-
getManifestExpressions
Gets the manifest expressions for the parameters for the format string.- Returns:
- The manifest expressions.
-
getValueProviders
Gets the list of ValueProvider that will be used to resolve parameters for the format string.- Returns:
- The list of ValueProvider.
-
getReferences
Description copied from interface:ValueWithReferences
A read-only list of the referenced objects of the value.- Specified by:
getReferences
in interfaceValueWithReferences
- Returns:
- A read-only list of the referenced objects.
-
getValueExpression
The value expression for the format string.- Returns:
- The value expression.
-
getValue
Gets the value of the expression. The final string value after evaluating the format string and its parameters.- Specified by:
getValue
in interfaceValueProvider
- Returns:
- A CompletionStage containing the evaluated string.
-
create
-