Package org.jboss.windup.config
Interface RuleProvider
-
- All Superinterfaces:
org.ocpsoft.rewrite.config.ConfigurationProvider<RuleLoaderContext>,org.ocpsoft.common.pattern.Specialized<Object>,org.ocpsoft.common.pattern.Weighted
- All Known Implementing Classes:
AbstractRuleProvider,ArchiveExtractionPhase,ArchiveMetadataExtractionPhase,ClassifyFileTypesPhase,DecompilationPhase,DependentPhase,DiscoverProjectStructurePhase,DiscoveryPhase,FinalizePhase,InitialAnalysisPhase,InitializationPhase,IteratingRuleProvider,MigrationRulesPhase,PostFinalizePhase,PostMigrationRulesPhase,PostReportGenerationPhase,PostReportPfRenderingPhase,PostReportRenderingPhase,PreReportGenerationPhase,PreReportPfRenderingPhase,ReportGenerationPhase,ReportPfRenderingPhase,ReportRenderingPhase,RulePhase,RuleProviderBuilder,SingleRuleProvider
public interface RuleProvider extends org.ocpsoft.rewrite.config.ConfigurationProvider<RuleLoaderContext>
A windup-specific implementation ofConfigurationProvider. ProvidesRuleinstances and relevantRuleProviderMetadatafor thoseRuleinstances.- Author:
- Lincoln Baxter, III
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.ocpsoft.rewrite.config.ConfigurationgetConfiguration(RuleLoaderContext context)KEEP - The purpose of this override is to make sure that reflection (interface.getClass().getMethods()) keeps a method with the specific type.RuleProviderMetadatagetMetadata()Get theRuleProviderMetadatafor thisRuleProvider.
-
-
-
Method Detail
-
getMetadata
RuleProviderMetadata getMetadata()
Get theRuleProviderMetadatafor thisRuleProvider.
-
getConfiguration
org.ocpsoft.rewrite.config.Configuration getConfiguration(RuleLoaderContext context)
KEEP - The purpose of this override is to make sure that reflection (interface.getClass().getMethods()) keeps a method with the specific type. Otherwise, type erasure will get rid of it and callers will get ClassCastExceptions in some obscure cases.- Specified by:
getConfigurationin interfaceorg.ocpsoft.rewrite.config.ConfigurationProvider<RuleLoaderContext>
-
-