public class ApplicationConfigurationMetadataResolver extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_PROPERTIES_CLASSES |
static String |
CONFIGURATION_PROPERTIES_NAMES |
Constructor and Description |
---|
ApplicationConfigurationMetadataResolver() |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
createClassLoader(org.springframework.boot.loader.archive.Archive archive)
Return a
ClassLoader for accessing resources in the provided
Archive . |
List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> |
listProperties(org.springframework.boot.loader.archive.Archive archive,
boolean exhaustive) |
List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> |
listProperties(Resource app) |
List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> |
listProperties(Resource app,
boolean exhaustive)
Return metadata about configuration properties that are documented via
Spring Boot configuration metadata and visible in an app.
|
public static final String CONFIGURATION_PROPERTIES_CLASSES
public static final String CONFIGURATION_PROPERTIES_NAMES
public ApplicationConfigurationMetadataResolver()
public List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> listProperties(Resource app)
public List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> listProperties(org.springframework.boot.loader.archive.Archive archive, boolean exhaustive)
public List<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> listProperties(Resource app, boolean exhaustive)
app
- a Spring Cloud Stream app; typically a Boot uberjar,
but directories are supported as wellprotected ClassLoader createClassLoader(org.springframework.boot.loader.archive.Archive archive) throws Exception
ClassLoader
for accessing resources in the provided
Archive
. The caller is responsible for disposing of the
class loader.archive
- the archive for which to return a class loaderException
- if the class loader cannot be createdCopyright © 2016 Pivotal Software, Inc.. All rights reserved.