public class Main extends Object
| Constructor and Description |
|---|
Main() |
| Modifier and Type | Method and Description |
|---|---|
com.martiansoftware.jsap.JSAP |
defineArgs() |
SonarQubeRepairConfig |
getConfig() |
DefaultRepair |
getRepairProcess() |
void |
initConfig(com.martiansoftware.jsap.JSAP jsap,
String[] args) |
static void |
main(String[] args) |
void |
start(String[] args) |
public SonarQubeRepairConfig getConfig()
public com.martiansoftware.jsap.JSAP defineArgs()
throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPExceptionpublic void initConfig(com.martiansoftware.jsap.JSAP jsap,
String[] args)
public DefaultRepair getRepairProcess()
public void start(String[] args) throws Exception
args - string array. Give either 0, 1 or 2 arguments. first argument is sonarqube rule-number which you can get from https://rules.sonarsource.com/java/type/Bug
second argument is the projectKey for the sonarqube analysis of source files. for example "fr.inria.gforge.spoon:spoon-core"ExceptionCopyright © 2020. All rights reserved.