public class ExternalResourceUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ExternalResourceInfoProvider |
createStaticExternalResourceInfoProviderFromConfig(Configuration configuration,
PluginManager pluginManager)
Instantiate
StaticExternalResourceInfoProvider for all of enabled external resources. |
static String |
generateExternalResourcesString(Collection<ExternalResource> extendedResources)
Generate the string expression of the given external resources.
|
static Map<String,String> |
getExternalResourceConfigurationKeys(Configuration config,
String suffix)
Get the external resource configuration keys map, indexed by the resource name.
|
static Collection<ExternalResource> |
getExternalResourcesCollection(Configuration config)
Get the collection of all enabled external resources.
|
public static Map<String,String> getExternalResourceConfigurationKeys(Configuration config, String suffix)
config
- Configurationssuffix
- suffix of config option for deployment specific configuration keypublic static ExternalResourceInfoProvider createStaticExternalResourceInfoProviderFromConfig(Configuration configuration, PluginManager pluginManager)
StaticExternalResourceInfoProvider
for all of enabled external resources.public static Collection<ExternalResource> getExternalResourcesCollection(Configuration config)
public static String generateExternalResourcesString(Collection<ExternalResource> extendedResources)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.