org.sonar.runner.api
Class Runner<T extends Runner>
java.lang.Object
org.sonar.runner.api.Runner<T>
- Direct Known Subclasses:
- EmbeddedRunner, ForkedRunner
public abstract class Runner<T extends Runner>
- extends Object
- Since:
- 2.2
|
Constructor Summary |
protected |
Runner()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Runner
protected Runner()
properties
public Properties properties()
addProperties
public T addProperties(Properties p)
- Declare Sonar properties, for example sonar.projectKey=>foo.
- See Also:
setProperty(String, String)
setProperty
public T setProperty(String key,
String value)
- Declare a Sonar property.
- See Also:
RunnerProperties,
ScanProperties
property
public String property(String key,
@Nullable
String defaultValue)
setApp
public T setApp(String app,
String version)
- User-agent used in the HTTP requests to the Sonar server
app
public String app()
appVersion
public String appVersion()
execute
public void execute()
doExecute
protected abstract void doExecute()
Copyright © 2011-2014 SonarSource. All Rights Reserved.