Skip navigation links
A B C D E F G H I J L M O P R S T U V W 

A

addExtensions(Object...) - Method in class org.sonar.runner.api.EmbeddedRunner
Add extensions to the batch's object container.
addGlobalProperties(Properties) - Method in class org.sonar.runner.api.EmbeddedRunner
Declare Sonar properties, for example sonar.projectKey=foo.
app() - Method in class org.sonar.runner.api.EmbeddedRunner
 
appVersion() - Method in class org.sonar.runner.api.EmbeddedRunner
 
available() - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 

B

build() - Method in class org.sonar.runner.api.Issue.Builder
 
build() - Method in class org.sonar.runner.cache.FileCacheBuilder
 
build() - Method in class org.sonar.runner.cache.PersistentCacheBuilder
 
builder() - Static method in class org.sonar.runner.api.Issue
 
Builder() - Constructor for class org.sonar.runner.api.Issue.Builder
 
byteArrayToHex(byte[]) - Static method in class org.sonar.runner.cache.PersistentCache
 

C

canLoad(String) - Method in class org.sonar.runner.impl.ClassloadRules
 
ClassloadRules - Class in org.sonar.runner.impl
 
ClassloadRules(Set<String>, Set<String>) - Constructor for class org.sonar.runner.impl.ClassloadRules
 
clean() - Method in class org.sonar.runner.cache.PersistentCache
Deletes cache entries that are no longer valid according to the default expiration time period.
clear() - Method in class org.sonar.runner.cache.PersistentCache
Deletes all cache entries
close() - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
create(LogOutput) - Static method in class org.sonar.runner.api.EmbeddedRunner
 
create(ClassLoader, Class<T>, String, Logger) - Static method in class org.sonar.runner.impl.IsolatedLauncherProxy
 
create(ClassLoader, Object, Class<T>, Logger) - Static method in class org.sonar.runner.impl.IsolatedLauncherProxy
 
create() - Static method in class org.sonar.runner.impl.OkHttpClientFactory
 
createLauncher(Properties, ClassloadRules, boolean) - Method in class org.sonar.runner.impl.IsolatedLauncherFactory
 
createSocket(Socket, String, int, boolean) - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
createSocket(String, int) - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
createSocket(InetAddress, int) - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
createTempDir() - Method in class org.sonar.runner.cache.FileCache
 

D

debug(String) - Method in interface org.sonar.runner.cache.Logger
 
DeleteFileOnCloseInputStream - Class in org.sonar.runner.cache
 
DeleteFileOnCloseInputStream(InputStream, Path) - Constructor for class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
DirectoryLock - Class in org.sonar.runner.cache
 
DirectoryLock(Path, Logger) - Constructor for class org.sonar.runner.cache.DirectoryLock
 
doExecute(Properties, IssueListener) - Method in class org.sonar.runner.api.EmbeddedRunner
 
doStart(boolean) - Method in class org.sonar.runner.api.EmbeddedRunner
 
doStop() - Method in class org.sonar.runner.api.EmbeddedRunner
 
download(String, File) - Method in interface org.sonar.runner.cache.FileCache.Downloader
 

E

EmbeddedRunner - Class in org.sonar.runner.api
Entry point to run SonarQube analysis programmatically.
error(String) - Method in interface org.sonar.runner.cache.Logger
 
error(String, Throwable) - Method in interface org.sonar.runner.cache.Logger
 
execute() - Method in class org.sonar.runner.api.EmbeddedRunner
execute(Properties) - Method in class org.sonar.runner.impl.SimulatedLauncher
 
execute(Properties, IssueListener) - Method in class org.sonar.runner.impl.SimulatedLauncher
 
executeOldVersion(Properties, List<Object>) - Method in class org.sonar.runner.impl.SimulatedLauncher
 
extractToTemp(String) - Method in class org.sonar.runner.impl.JarExtractor
 

F

FileCache - Class in org.sonar.runner.cache
This class is responsible for managing Sonar batch file cache.
FileCache.Downloader - Interface in org.sonar.runner.cache
 
FileCacheBuilder - Class in org.sonar.runner.cache
 
FileCacheBuilder(Logger) - Constructor for class org.sonar.runner.cache.FileCacheBuilder
 

G

get(String, String) - Method in class org.sonar.runner.cache.FileCache
Look for a file in the cache by its filename and md5 checksum.
get(String, String, FileCache.Downloader) - Method in class org.sonar.runner.cache.FileCache
 
get(String) - Method in class org.sonar.runner.cache.PersistentCache
 
getAssigneeLogin() - Method in class org.sonar.runner.api.Issue
 
getAssigneeName() - Method in class org.sonar.runner.api.Issue
 
getComponentKey() - Method in class org.sonar.runner.api.Issue
 
getDefaultCipherSuites() - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
getDir() - Method in class org.sonar.runner.cache.FileCache
 
getDirectory() - Method in class org.sonar.runner.cache.PersistentCache
 
getEndLine() - Method in class org.sonar.runner.api.Issue
 
getEndLineOffset() - Method in class org.sonar.runner.api.Issue
 
getFileLockName() - Method in class org.sonar.runner.cache.DirectoryLock
 
getKey() - Method in class org.sonar.runner.api.Issue
 
getMessage() - Method in class org.sonar.runner.api.Issue
 
getResolution() - Method in class org.sonar.runner.api.Issue
 
getRuleKey() - Method in class org.sonar.runner.api.Issue
 
getRuleName() - Method in class org.sonar.runner.api.Issue
 
getSeverity() - Method in class org.sonar.runner.api.Issue
 
getStartLine() - Method in class org.sonar.runner.api.Issue
 
getStartLineOffset() - Method in class org.sonar.runner.api.Issue
 
getStatus() - Method in class org.sonar.runner.api.Issue
 
getStream(String) - Method in class org.sonar.runner.cache.PersistentCache
 
getString(String) - Method in class org.sonar.runner.cache.PersistentCache
 
getSupportedCipherSuites() - Method in class org.sonar.runner.impl.Tls12Java7SocketFactory
 
getVersion() - Method in class org.sonar.runner.impl.SimulatedLauncher
 
globalProperties() - Method in class org.sonar.runner.api.EmbeddedRunner
 
globalProperty(String, String) - Method in class org.sonar.runner.api.EmbeddedRunner
 

H

handle(Issue) - Method in interface org.sonar.runner.api.IssueListener
 
HOST_URL - Static variable in interface org.sonar.runner.api.RunnerProperties
HTTP URL of Sonar server, "http://localhost:9000" by default

I

info(String) - Method in interface org.sonar.runner.cache.Logger
 
InternalProperties - Interface in org.sonar.runner.impl
 
invoke(Object, Method, Object[]) - Method in class org.sonar.runner.impl.IsolatedLauncherProxy
 
isAtLeast52(String) - Static method in class org.sonar.runner.impl.VersionUtils
 
isNew() - Method in class org.sonar.runner.api.Issue
 
IsolatedLauncherFactory - Class in org.sonar.runner.impl
 
IsolatedLauncherFactory(Logger) - Constructor for class org.sonar.runner.impl.IsolatedLauncherFactory
 
IsolatedLauncherProxy - Class in org.sonar.runner.impl
 
Issue - Class in org.sonar.runner.api
 
Issue.Builder - Class in org.sonar.runner.api
 
IssueListener - Interface in org.sonar.runner.api
 

J

JarExtractor - Class in org.sonar.runner.impl
 
JarExtractor() - Constructor for class org.sonar.runner.impl.JarExtractor
 

L

lock() - Method in class org.sonar.runner.cache.DirectoryLock
 
log(String, LogOutput.Level) - Method in interface org.sonar.runner.api.LogOutput
 
log(String, LogOutput.Level) - Method in class org.sonar.runner.api.StdOutLogOutput
 
Logger - Interface in org.sonar.runner.cache
 
LogOutput - Interface in org.sonar.runner.api
 
LogOutput.Level - Enum in org.sonar.runner.api
 

M

mark(int) - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
markSupported() - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
mask(String) - Method in class org.sonar.runner.api.EmbeddedRunner
 
MODULE_KEY - Static variable in interface org.sonar.runner.api.ScanProperties
Used to define the exact key of each module.

O

OkHttpClientFactory - Class in org.sonar.runner.impl
 
org.sonar.runner.api - package org.sonar.runner.api
 
org.sonar.runner.cache - package org.sonar.runner.cache
 
org.sonar.runner.impl - package org.sonar.runner.impl
 

P

PersistentCache - Class in org.sonar.runner.cache
 
PersistentCacheBuilder - Class in org.sonar.runner.cache
Cache files will be placed in 3 areas: <sonar_home>/ws_cache/<server_url>-<version>/projects/<project>/ <sonar_home>/ws_cache/<server_url>-<version>/global/ <sonar_home>/ws_cache/<server_url>-<version>/local/
PersistentCacheBuilder(Logger) - Constructor for class org.sonar.runner.cache.PersistentCacheBuilder
 
PersistentCacheInvalidation - Interface in org.sonar.runner.cache
 
PROJECT_BASEDIR - Static variable in interface org.sonar.runner.api.ScanProperties
Property used to specify the base directory of the project to analyse.
PROJECT_DESCRIPTION - Static variable in interface org.sonar.runner.api.ScanProperties
Optional description
PROJECT_KEY - Static variable in interface org.sonar.runner.api.ScanProperties
Required project key
PROJECT_NAME - Static variable in interface org.sonar.runner.api.ScanProperties
 
PROJECT_SOURCE_DIRS - Static variable in interface org.sonar.runner.api.ScanProperties
Required paths to source directories, separated by commas, for example: "srcDir1,srcDir2"
PROJECT_SOURCE_ENCODING - Static variable in interface org.sonar.runner.api.ScanProperties
Encoding of source and test files.
PROJECT_TEST_DIRS - Static variable in interface org.sonar.runner.api.ScanProperties
Optional paths to test directories, separated by commas, for example: "testDir1,testDir2"
PROJECT_VERSION - Static variable in interface org.sonar.runner.api.ScanProperties
 
put(String, InputStream) - Method in class org.sonar.runner.cache.PersistentCache
 
put(String, byte[]) - Method in class org.sonar.runner.cache.PersistentCache
 

R

read() - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
read(byte[]) - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
read(byte[], int, int) - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
reconfigure() - Method in class org.sonar.runner.cache.PersistentCache
 
reset() - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
runAnalysis(Properties) - Method in class org.sonar.runner.api.EmbeddedRunner
Launch an analysis.
runAnalysis(Properties, IssueListener) - Method in class org.sonar.runner.api.EmbeddedRunner
Launch an analysis, providing optionally a issue listener.
RUNNER_APP - Static variable in interface org.sonar.runner.impl.InternalProperties
 
RUNNER_APP_VERSION - Static variable in interface org.sonar.runner.impl.InternalProperties
 
RUNNER_DUMP_TO_FILE - Static variable in interface org.sonar.runner.impl.InternalProperties
 
RUNNER_MASK_RULES - Static variable in interface org.sonar.runner.impl.InternalProperties
 
RUNNER_VERSION_SIMULATION - Static variable in interface org.sonar.runner.impl.InternalProperties
 
RunnerException - Exception in org.sonar.runner.impl
 
RunnerException(String, Throwable) - Constructor for exception org.sonar.runner.impl.RunnerException
 
RunnerProperties - Interface in org.sonar.runner.api
Mostly used properties that can be passed to EmbeddedRunner.addGlobalProperties(java.util.Properties).
RunnerVersion - Enum in org.sonar.runner.api
Version of this sonar-runner API.

S

SCAN_TASK - Static variable in interface org.sonar.runner.api.ScanProperties
Default task
ScanProperties - Interface in org.sonar.runner.api
Most commonly used properties for a SonarQube analysis.
serverVersion() - Method in class org.sonar.runner.api.EmbeddedRunner
 
setApp(String, String) - Method in class org.sonar.runner.api.EmbeddedRunner
User-agent used in the HTTP requests to the SonarQube server
setAreaForGlobal(String) - Method in class org.sonar.runner.cache.PersistentCacheBuilder
 
setAreaForLocalProject(String, String) - Method in class org.sonar.runner.cache.PersistentCacheBuilder
 
setAreaForProject(String, String, String) - Method in class org.sonar.runner.cache.PersistentCacheBuilder
 
setAssigneeLogin(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setAssigneeName(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setComponentKey(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setEndLine(Integer) - Method in class org.sonar.runner.api.Issue.Builder
 
setEndLineOffset(Integer) - Method in class org.sonar.runner.api.Issue.Builder
 
setGlobalProperty(String, String) - Method in class org.sonar.runner.api.EmbeddedRunner
Declare a SonarQube property.
setKey(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setMessage(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setNew(boolean) - Method in class org.sonar.runner.api.Issue.Builder
 
setResolution(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setRuleKey(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setRuleName(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setSeverity(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setSonarHome(Path) - Method in class org.sonar.runner.cache.PersistentCacheBuilder
 
setStartLine(Integer) - Method in class org.sonar.runner.api.Issue.Builder
 
setStartLineOffset(Integer) - Method in class org.sonar.runner.api.Issue.Builder
 
setStatus(String) - Method in class org.sonar.runner.api.Issue.Builder
 
setUserHome(File) - Method in class org.sonar.runner.cache.FileCacheBuilder
 
setUserHome(String) - Method in class org.sonar.runner.cache.FileCacheBuilder
 
SimulatedLauncher - Class in org.sonar.runner.impl
 
skip(long) - Method in class org.sonar.runner.cache.DeleteFileOnCloseInputStream
 
start() - Method in class org.sonar.runner.api.EmbeddedRunner
 
start(boolean) - Method in class org.sonar.runner.api.EmbeddedRunner
 
start(Properties, LogOutput, boolean) - Method in class org.sonar.runner.impl.SimulatedLauncher
 
StdOutLogOutput - Class in org.sonar.runner.api
 
StdOutLogOutput() - Constructor for class org.sonar.runner.api.StdOutLogOutput
 
stop() - Method in class org.sonar.runner.api.EmbeddedRunner
Stops the batch.
stop() - Method in class org.sonar.runner.impl.SimulatedLauncher
 
syncProject(String) - Method in class org.sonar.runner.api.EmbeddedRunner
Synchronizes the project's data in the local cache with the server, allowing analysis of the project to be done offline.
syncProject(String) - Method in class org.sonar.runner.impl.SimulatedLauncher
 

T

TASK - Static variable in interface org.sonar.runner.api.RunnerProperties
Deprecated.
since 2.5 No more task starting from SQ 5.2
test(Path) - Method in interface org.sonar.runner.cache.PersistentCacheInvalidation
 
Tls12Java7SocketFactory - Class in org.sonar.runner.impl
SSLSocketFactory which enables all the versions of TLS.
Tls12Java7SocketFactory(SSLSocketFactory) - Constructor for class org.sonar.runner.impl.Tls12Java7SocketFactory
 
tryLock() - Method in class org.sonar.runner.cache.DirectoryLock
 

U

unlock() - Method in class org.sonar.runner.cache.DirectoryLock
 
unmask(String) - Method in class org.sonar.runner.api.EmbeddedRunner
 

V

valueOf(String) - Static method in enum org.sonar.runner.api.LogOutput.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sonar.runner.api.RunnerVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonar.runner.api.LogOutput.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sonar.runner.api.RunnerVersion
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Static method in enum org.sonar.runner.api.RunnerVersion
 
VersionUtils - Class in org.sonar.runner.impl
 

W

warn(String) - Method in interface org.sonar.runner.cache.Logger
 
WORK_DIR - Static variable in interface org.sonar.runner.api.RunnerProperties
Working directory containing generated reports and temporary data.
A B C D E F G H I J L M O P R S T U V W 
Skip navigation links

Copyright © 2011-2016 SonarSource. All Rights Reserved.