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

com.buschmais.jqassistant.commandline.task.AvailableRulesTask Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package com.buschmais.jqassistant.commandline.task;

import com.buschmais.jqassistant.commandline.CliExecutionException;
import com.buschmais.jqassistant.core.analysis.api.AnalysisException;
import com.buschmais.jqassistant.core.analysis.api.rule.RuleSet;
import com.buschmais.jqassistant.core.store.api.Store;

public class AvailableRulesTask extends AbstractAnalyzeTask {


    @Override
    protected void executeTask(Store store) throws CliExecutionException {
        RuleSet availableRules = getAvailableRules();
        try {
            ruleHelper.printRuleSet(availableRules);
        } catch (AnalysisException e) {
            throw new CliExecutionException("Cannot print available rules.", e);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy