Package org.jboss.windup.config.metadata
Interface RuleProviderRegistryCache
-
public interface RuleProviderRegistryCacheThis class provides convenience methods for retrieving aRuleProviderRegistry. The registry is cached for a period of time in order to improve performance. This is useful for cases in which you need to repeatedly query the registry for information, such as when looking up metadata in the user interface.- Author:
- Jesse Sightler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUserRulesPath(Path path)Specify that the user has added an additional path for user defined rules.Set<String>getAvailableSourceTechnologies()Retrieves a list of available source technologies from theRuleProviders.Set<String>getAvailableTags()Returns all tags known by Windup.Set<String>getAvailableTargetTechnologies()Retrieves a list of available target technologies from theRuleProviders.RuleProviderRegistrygetRuleProviderRegistry()Returns theRuleProviderRegistry, loading it if necessary.RuleProviderRegistrygetRuleProviderRegistry(RuleLoaderContext ruleLoaderContext)Load the registry using the givenGraphContext.
-
-
-
Method Detail
-
addUserRulesPath
void addUserRulesPath(Path path)
Specify that the user has added an additional path for user defined rules.
-
getAvailableSourceTechnologies
Set<String> getAvailableSourceTechnologies()
Retrieves a list of available source technologies from theRuleProviders.
-
getAvailableTargetTechnologies
Set<String> getAvailableTargetTechnologies()
Retrieves a list of available target technologies from theRuleProviders.
-
getRuleProviderRegistry
RuleProviderRegistry getRuleProviderRegistry()
Returns theRuleProviderRegistry, loading it if necessary.
-
getRuleProviderRegistry
RuleProviderRegistry getRuleProviderRegistry(RuleLoaderContext ruleLoaderContext)
Load the registry using the givenGraphContext.
-
-