@Target(value=TYPE) @Retention(value=RUNTIME) public @interface RuleMetadata
RuleProvider metadata. Can be overridden by altering the RuleProviderMetadata directly.| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends RuleProvider>[] |
after
Returns a list of
RuleProvider after which the Rule instances supplied by this RuleProvider should be executed. |
String[] |
afterIDs
Returns a list of
RuleProvider IDs after which the Rule instances supplied by this RuleProvider should be executed. |
Class<? extends RuleProvider>[] |
before
Returns a list of
RuleProvider before which the Rule instances supplied by this RuleProvider should be executed. |
String[] |
beforeIDs
Returns a list of
RuleProvider IDs before which the Rule instances supplied by this RuleProvider should be executed. |
String |
description
Returns a human-readable text containing a description of the rules in this
RuleProvider. |
boolean |
disabled
If true, Windup will skip running this RuleProvider.
|
boolean |
haltOnException
Whether Windup should stop execution if this provider's rule execution ends with an exception.
|
String |
id
Returns a unique identifier for this particular
RuleProvider. |
boolean |
overrideProvider
Indicates whether or not the rules in this provider should override other rules.
|
String |
perform
String used to display the progress of rule execution to the user.
|
Class<? extends RulePhase> |
phase
|
Technology[] |
sourceTechnologies
A list of source technologies that the annotated rules pertain to.
|
String[] |
tags
The tags describing this
RuleProvider. |
Technology[] |
targetTechnologies
A list of target technologies that the annotated rules pertain to.
|
public abstract String id
RuleProvider. The default is based on the Class name, but this can be
overridden here - or in subclasses - to provide a more readable name.public abstract String description
RuleProvider.public abstract String perform
public abstract Class<? extends RulePhase> phase
RulePhase in which the Rule instances from this RuleProvider should be executed.
The default phase is MigrationRulesPhase.
public abstract Class<? extends RuleProvider>[] after
RuleProvider after which the Rule instances supplied by this RuleProvider should be executed.public abstract String[] afterIDs
RuleProvider IDs after which the Rule instances supplied by this RuleProvider should be executed.
This is returned as a list of RuleProvider IDs in order to support extensions that cannot depend on each other via class names.
public abstract Class<? extends RuleProvider>[] before
RuleProvider before which the Rule instances supplied by this RuleProvider should be executed.public abstract String[] beforeIDs
RuleProvider IDs before which the Rule instances supplied by this RuleProvider should be executed.
This is returned as a list of RuleProvider IDs in order to support extensions that cannot depend on each other via class names.
public abstract String[] tags
RuleProvider.public abstract Technology[] sourceTechnologies
public abstract Technology[] targetTechnologies
public abstract boolean haltOnException
public abstract boolean overrideProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.