30 строки
2.4 KiB
YAML
30 строки
2.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.util.ConfigurationSource"
|
|
fullName: "com.azure.core.util.ConfigurationSource"
|
|
name: "ConfigurationSource"
|
|
nameWithType: "ConfigurationSource"
|
|
summary: "Configuration property source which provides configuration values from a specific place."
|
|
syntax: "public interface **ConfigurationSource**"
|
|
methods:
|
|
- uid: "com.azure.core.util.ConfigurationSource.getProperties(java.lang.String)"
|
|
fullName: "com.azure.core.util.ConfigurationSource.getProperties(String source)"
|
|
name: "getProperties(String source)"
|
|
nameWithType: "ConfigurationSource.getProperties(String source)"
|
|
summary: "Returns all properties (name and value) which names start with given path."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "property name prefix"
|
|
name: "source"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract Map<String,String> getProperties(String source)"
|
|
desc: "Returns all properties (name and value) which names start with given path. Null (or empty) path indicate that all properties should be returned. Example:\n\nWith following configuration properties:\n\n * azure.sdk.foo = 1\n * azure.sdk.bar.baz = 2\n\n<xref uid=\"com.azure.core.util.ConfigurationSource\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ConfigurationSource\"></xref> implementation must the following behavior:\n\n * `getProperties(null` must return both properties\n * `getProperties(\"azure.sdk\")` must return both properties\n * `getProperties(\"azure.sdk.foo\")` must return \\{\"azure.sdk.foo\", \"1\"\\}\n * `getProperties(\"azure.sdk.ba\")` must return empty map"
|
|
returns:
|
|
description: "Map of properties under given path."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
type: "interface"
|
|
desc: "Configuration property source which provides configuration values from a specific place. Samples may include properties file supported by frameworks or other source. Note that environment configuration (environment variables and system properties) are supported by default and don't need a source implementation."
|
|
metadata: {}
|
|
package: "com.azure.core.util"
|
|
artifact: com.azure:azure-core:1.54.0
|