All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.windup.rules.apps.diva.DivaRuleProvider Maven / Gradle / Ivy

The newest version!
package org.jboss.windup.rules.apps.diva;

import org.jboss.windup.config.AbstractRuleProvider;
import org.jboss.windup.config.loader.RuleLoaderContext;
import org.jboss.windup.config.metadata.RuleMetadata;
import org.jboss.windup.config.phase.MigrationRulesPhase;
import org.jboss.windup.rules.apps.diva.analysis.DivaLauncher;
import org.ocpsoft.rewrite.config.Configuration;
import org.ocpsoft.rewrite.config.ConfigurationBuilder;
import org.ocpsoft.rewrite.config.ConfigurationRuleBuilderPerform;

/**
 *
 */
@RuleMetadata(phase = MigrationRulesPhase.class)
public class DivaRuleProvider extends AbstractRuleProvider {

    // @formatter:off
    @Override
    public Configuration getConfiguration(RuleLoaderContext ruleLoaderContext) {
        ConfigurationRuleBuilderPerform conf = ConfigurationBuilder.begin()
                .addRule()
                .perform(new DivaLauncher());
        return conf;
    }
    // @formatter:on
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy