use of com.buschmais.jqassistant.core.rule.api.configuration.Rule in project jqa-commandline-tool by jQAssistant.
the class EffectiveRulesTask method run.
@Override
public void run(CliConfiguration configuration) throws CliExecutionException {
try {
Analyze analyze = configuration.analyze();
Rule rule = analyze.rule();
RuleSet availableRules = getAvailableRules(rule);
ruleHelper.printRuleSet(availableRules, getRuleSelection(availableRules, analyze), rule);
} catch (RuleException e) {
throw new CliExecutionException("Cannot print rules.", e);
}
}
Aggregations