public class RuleProviderRegistry extends Object
Rule and RuleProvider instances that have been loaded by Windup.| Constructor and Description |
|---|
RuleProviderRegistry() |
| Modifier and Type | Method and Description |
|---|---|
org.ocpsoft.rewrite.config.Configuration |
getConfiguration()
Contains the
Configuration containing all of the loaded s. |
List<RuleProvider> |
getProviders()
Gets the list of loaded
RuleProviders as an immutable List. |
List<org.ocpsoft.rewrite.config.Rule> |
getRules(RuleProvider provider)
Gets all of the
Rules that were loaded by the given RuleProvider. |
static RuleProviderRegistry |
instance(GraphRewrite event)
Gets the current instance of
RuleProviderRegistry. |
void |
setConfiguration(org.ocpsoft.rewrite.config.Configuration configuration)
Contains the
Configuration containing all of the loaded s. |
void |
setProviders(List<RuleProvider> providers)
Sets the list of loaded
RuleProviders. |
void |
setRules(RuleProvider provider,
List<org.ocpsoft.rewrite.config.Rule> rules)
|
public static RuleProviderRegistry instance(GraphRewrite event)
RuleProviderRegistry.public void setProviders(List<RuleProvider> providers)
RuleProviders.public List<RuleProvider> getProviders()
RuleProviders as an immutable List.public void setRules(RuleProvider provider, List<org.ocpsoft.rewrite.config.Rule> rules)
public List<org.ocpsoft.rewrite.config.Rule> getRules(RuleProvider provider)
Rules that were loaded by the given RuleProvider.public org.ocpsoft.rewrite.config.Configuration getConfiguration()
Configuration containing all of the loaded s.public void setConfiguration(org.ocpsoft.rewrite.config.Configuration configuration)
Configuration containing all of the loaded s.Copyright © 2021 JBoss by Red Hat. All rights reserved.