public interface RuleProviderMetadata extends RulesetMetadata
RuleProvider instances.| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends RuleProvider>> |
getExecuteAfter()
Returns a list of
RuleProvider classes that should execute before the Rule instances in this corresponding RuleProvider
. |
List<String> |
getExecuteAfterIDs()
Returns a list of the
RuleProvider classes that should execute before the Rules in this
RuleProvider. |
List<Class<? extends RuleProvider>> |
getExecuteBefore()
|
List<String> |
getExecuteBeforeIDs()
Returns a list of the
RuleProvider classes that should execute after the Rules in this
RuleProvider. |
Class<? extends RulePhase> |
getPhase()
|
RulesetMetadata |
getRulesetMetadata()
Returns the
RulesetMetadata, if any, for the rule-set from which this RuleProviderMetadata
originated. |
Class<? extends RuleProvider> |
getType()
Returns the
Class of the corresponding RuleProvider. |
boolean |
isDisabled()
If true, Windup will skip running this RuleProvider.
|
boolean |
isHaltOnException()
Whether Windup should stop execution if this provider's rule execution ends with an exception.
|
boolean |
isOverrideProvider()
Indicates whether or not the rules in this provider should override other rules.
|
getDescription, getID, getOrigin, getRequiredAddons, getSourceTechnologies, getTags, getTargetTechnologies, hasTagsClass<? extends RuleProvider> getType()
Class of the corresponding RuleProvider.RulesetMetadata getRulesetMetadata()
RulesetMetadata, if any, for the rule-set from which this RuleProviderMetadata
originated.Class<? extends RulePhase> getPhase()
RulePhase in which Rule instances from this RuleProvider should be executed.
The default phase is MigrationRulesPhase.
List<Class<? extends RuleProvider>> getExecuteAfter()
RuleProvider classes that should execute before the Rule instances in this corresponding RuleProvider
.
RuleProviders can also be specified based on id (getExecuteAfterIDs()).List<String> getExecuteAfterIDs()
RuleProvider classes that should execute before the Rules in this
RuleProvider.
This is returned as a list of Rule IDs in order to support extensions that cannot depend on each other
via class names. For example, in the case of the Groovy rules extension, a single class covers many rules with
their own IDs.
For specifying Java-based rules, getExecuteAfter() is preferred.List<Class<? extends RuleProvider>> getExecuteBefore()
RuleProvider classes that should execute after the Rules in this RuleProvider.
RuleProviders can also be specified based on id (getExecuteBeforeIDs()).List<String> getExecuteBeforeIDs()
RuleProvider classes that should execute after the Rules in this
RuleProvider.
This is returned as a list of Rule IDs in order to support extensions that cannot depend on each other
via Class names. For example, in the case of the Groovy rules extension, a single class covers many rules
with their own IDs.
For specifying Java-based rules, getExecuteBefore() is preferred.boolean isHaltOnException()
boolean isOverrideProvider()
boolean isDisabled()
Copyright © 2021 JBoss by Red Hat. All rights reserved.