public abstract class AbstractAnalyzeTask extends AbstractTask
Abstract base class for all tasks working with rules.
CMDLINE_OPTION_REPORTDIR, CMDLINE_OPTION_S, CMDLINE_OPTION_STOREDIRECTORY, pluginProperties, pluginRepository, reportHelper, ruleHelper, storeDirectoryDEFAULT_REPORT_DIRECTORY, DEFAULT_RULE_DIRECTORY, DEFAULT_STORE_DIRECTORY, REPORT_FILE_XML| Constructor and Description |
|---|
AbstractAnalyzeTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTaskOptions(List<org.apache.commons.cli.Option> options) |
protected com.buschmais.jqassistant.core.analysis.api.rule.RuleSet |
getAvailableRules() |
protected com.buschmais.jqassistant.core.analysis.api.RuleSelection |
getRuleSelection(com.buschmais.jqassistant.core.analysis.api.rule.RuleSet ruleSet)
Return the selection of rules.
|
void |
withOptions(org.apache.commons.cli.CommandLine options) |
executeTask, getOptions, getOptionValue, getOptionValues, getStore, initialize, run, withStandardOptionsprotected com.buschmais.jqassistant.core.analysis.api.rule.RuleSet getAvailableRules()
throws CliExecutionException
CliExecutionExceptionprotected com.buschmais.jqassistant.core.analysis.api.RuleSelection getRuleSelection(com.buschmais.jqassistant.core.analysis.api.rule.RuleSet ruleSet)
throws CliExecutionException
Return the selection of rules.
ruleSet - The rule set.CliExecutionExceptionpublic void withOptions(org.apache.commons.cli.CommandLine options)
throws CliConfigurationException
CliConfigurationExceptionprotected void addTaskOptions(List<org.apache.commons.cli.Option> options)
addTaskOptions in class AbstractTaskCopyright © 2016 buschmais GbR. All rights reserved.