public abstract class Runner<T extends Runner> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Runner() |
| Modifier and Type | Method and Description |
|---|---|
T |
addProperties(Properties p)
Declare Sonar properties, for example sonar.projectKey=>foo.
|
String |
app() |
String |
appVersion() |
protected abstract void |
doExecute() |
void |
execute() |
Properties |
properties() |
String |
property(String key,
String defaultValue) |
T |
setApp(String app,
String version)
User-agent used in the HTTP requests to the Sonar server
|
T |
setProperty(String key,
String value)
Declare a Sonar property.
|
public Properties properties()
public T addProperties(Properties p)
setProperty(String, String)public T setProperty(String key, String value)
RunnerProperties,
ScanPropertiespublic T setApp(String app, String version)
public String app()
public String appVersion()
public void execute()
protected abstract void doExecute()
Copyright © 2011-2013 SonarSource. All Rights Reserved.