A B C D E F G H I J L M O P S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addGlobalProperties(Map<String, String>) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
-
Declare SonarQube properties needed to download the scanner-engine from the server (sonar.host.url, credentials, proxy, ...).
- app() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- appVersion() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
B
- build() - Method in class org.sonarsource.scanner.api.internal.cache.FileCacheBuilder
C
- canLoad(String) - Method in class org.sonarsource.scanner.api.internal.ClassloadRules
- ClassloadRules - Class in org.sonarsource.scanner.api.internal
- ClassloadRules(Set<String>, Set<String>) - Constructor for class org.sonarsource.scanner.api.internal.ClassloadRules
- close() - Method in class org.sonarsource.scanner.api.internal.IsolatedLauncherFactory
- create(ClassLoader, Class<T>, String, Logger) - Static method in class org.sonarsource.scanner.api.internal.IsolatedLauncherProxy
- create(ClassLoader, Object, Class<T>, Logger) - Static method in class org.sonarsource.scanner.api.internal.IsolatedLauncherProxy
- create(String, String, LogOutput) - Static method in class org.sonarsource.scanner.api.EmbeddedScanner
- create(String, String, LogOutput, System2) - Static method in class org.sonarsource.scanner.api.EmbeddedScanner
- createLauncher(Map<String, String>, ClassloadRules) - Method in class org.sonarsource.scanner.api.internal.IsolatedLauncherFactory
D
- debug(String) - Method in interface org.sonarsource.scanner.api.internal.cache.Logger
- DEBUG - org.sonarsource.scanner.api.LogOutput.Level
- deleteQuietly(Path) - Static method in class org.sonarsource.scanner.api.Utils
- doExecute(Map<String, String>) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- doStart() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- download(String, File) - Method in interface org.sonarsource.scanner.api.internal.cache.FileCache.Downloader
E
- EmbeddedScanner - Class in org.sonarsource.scanner.api
-
Entry point to run SonarQube analysis programmatically.
- error(String) - Method in interface org.sonarsource.scanner.api.internal.cache.Logger
- error(String, Throwable) - Method in interface org.sonarsource.scanner.api.internal.cache.Logger
- ERROR - org.sonarsource.scanner.api.LogOutput.Level
- execute(Map<String, String>) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- execute(Map<String, String>, LogOutput) - Method in class org.sonarsource.scanner.api.internal.SimulatedLauncher
- extractToTemp(String) - Method in class org.sonarsource.scanner.api.internal.JarExtractor
F
- FileCache - Class in org.sonarsource.scanner.api.internal.cache
-
This class is responsible for managing Sonar batch file cache.
- FileCache.Downloader - Interface in org.sonarsource.scanner.api.internal.cache
- FileCacheBuilder - Class in org.sonarsource.scanner.api.internal.cache
- FileCacheBuilder(Logger) - Constructor for class org.sonarsource.scanner.api.internal.cache.FileCacheBuilder
G
- get(String, String) - Method in class org.sonarsource.scanner.api.internal.cache.FileCache
-
Look for a file in the cache by its filename and md5 checksum.
- get(String, String, FileCache.Downloader) - Method in class org.sonarsource.scanner.api.internal.cache.FileCache
- getDir() - Method in class org.sonarsource.scanner.api.internal.cache.FileCache
- getEnvironmentVariable(String) - Method in class org.sonarsource.scanner.api.System2
- getVersion() - Method in class org.sonarsource.scanner.api.internal.SimulatedLauncher
- globalProperties() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- globalProperty(String, String) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
H
- HOST_URL - Static variable in interface org.sonarsource.scanner.api.ScannerProperties
-
HTTP URL of Sonar server, "http://localhost:9000" by default
I
- info(String) - Method in interface org.sonarsource.scanner.api.internal.cache.Logger
- INFO - org.sonarsource.scanner.api.LogOutput.Level
- InternalProperties - Interface in org.sonarsource.scanner.api.internal
- invoke(Object, Method, Object[]) - Method in class org.sonarsource.scanner.api.internal.IsolatedLauncherProxy
- isAtLeast52(String) - Static method in class org.sonarsource.scanner.api.internal.VersionUtils
- IsolatedLauncherFactory - Class in org.sonarsource.scanner.api.internal
- IsolatedLauncherFactory(Logger) - Constructor for class org.sonarsource.scanner.api.internal.IsolatedLauncherFactory
- IsolatedLauncherProxy - Class in org.sonarsource.scanner.api.internal
J
- JarExtractor - Class in org.sonarsource.scanner.api.internal
- JarExtractor() - Constructor for class org.sonarsource.scanner.api.internal.JarExtractor
L
- loadEnvironmentProperties(Map<String, String>) - Static method in class org.sonarsource.scanner.api.Utils
- log(String, LogOutput.Level) - Method in interface org.sonarsource.scanner.api.LogOutput
- log(String, LogOutput.Level) - Method in class org.sonarsource.scanner.api.StdOutLogOutput
- Logger - Interface in org.sonarsource.scanner.api.internal.cache
- LogOutput - Interface in org.sonarsource.scanner.api
- LogOutput.Level - Enum in org.sonarsource.scanner.api
M
- mask(String) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- MODULE_KEY - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Used to define the exact key of each module.
O
- OkHttpClientFactory - Class in org.sonarsource.scanner.api.internal
- org.sonarsource.scanner.api - package org.sonarsource.scanner.api
- org.sonarsource.scanner.api.internal - package org.sonarsource.scanner.api.internal
- org.sonarsource.scanner.api.internal.cache - package org.sonarsource.scanner.api.internal.cache
P
- PROJECT_BASEDIR - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Property used to specify the base directory of the project to analyse.
- PROJECT_DESCRIPTION - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Optional description
- PROJECT_KEY - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Required project key
- PROJECT_NAME - Static variable in interface org.sonarsource.scanner.api.ScanProperties
- PROJECT_SOURCE_DIRS - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Required paths to source directories, separated by commas, for example: "srcDir1,srcDir2"
- PROJECT_SOURCE_ENCODING - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Encoding of source and test files.
- PROJECT_TEST_DIRS - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Optional paths to test directories, separated by commas, for example: "testDir1,testDir2"
- PROJECT_VERSION - Static variable in interface org.sonarsource.scanner.api.ScanProperties
S
- SCAN_TASK - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Default task
- SCANNER_APP - Static variable in interface org.sonarsource.scanner.api.internal.InternalProperties
- SCANNER_APP_VERSION - Static variable in interface org.sonarsource.scanner.api.internal.InternalProperties
- SCANNER_DUMP_TO_FILE - Static variable in interface org.sonarsource.scanner.api.internal.InternalProperties
- SCANNER_VERSION_SIMULATION - Static variable in interface org.sonarsource.scanner.api.internal.InternalProperties
- ScannerException - Exception in org.sonarsource.scanner.api.internal
- ScannerException(String, Throwable) - Constructor for exception org.sonarsource.scanner.api.internal.ScannerException
- ScannerProperties - Interface in org.sonarsource.scanner.api
-
Mostly used properties that can be passed to EmbeddedScanner#addGlobalProperties(java.util.Properties).
- ScanProperties - Interface in org.sonarsource.scanner.api
-
Most commonly used properties for a SonarQube analysis.
- serverVersion() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- setGlobalProperty(String, String) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
-
Declare a SonarQube property needed to download the scanner-engine from the server (sonar.host.url, credentials, proxy, ...).
- setUserHome(File) - Method in class org.sonarsource.scanner.api.internal.cache.FileCacheBuilder
- setUserHome(String) - Method in class org.sonarsource.scanner.api.internal.cache.FileCacheBuilder
- SimulatedLauncher - Class in org.sonarsource.scanner.api.internal
- SKIP - Static variable in interface org.sonarsource.scanner.api.ScanProperties
-
Skip analysis.
- start() - Method in class org.sonarsource.scanner.api.EmbeddedScanner
-
Download scanner-engine JAR and start bootstrapping classloader.
- StdOutLogOutput - Class in org.sonarsource.scanner.api
- StdOutLogOutput() - Constructor for class org.sonarsource.scanner.api.StdOutLogOutput
- System2 - Class in org.sonarsource.scanner.api
-
A proxy class for java.lang.System (for mocking).
- System2() - Constructor for class org.sonarsource.scanner.api.System2
T
- TASK - Static variable in interface org.sonarsource.scanner.api.ScannerProperties
-
Task to execute, "scan" by default
- TRACE - org.sonarsource.scanner.api.LogOutput.Level
U
- unmask(String) - Method in class org.sonarsource.scanner.api.EmbeddedScanner
- Utils - Class in org.sonarsource.scanner.api
V
- valueOf(String) - Static method in enum org.sonarsource.scanner.api.LogOutput.Level
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.sonarsource.scanner.api.LogOutput.Level
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VersionUtils - Class in org.sonarsource.scanner.api.internal
W
- warn(String) - Method in interface org.sonarsource.scanner.api.internal.cache.Logger
- WARN - org.sonarsource.scanner.api.LogOutput.Level
- WORK_DIR - Static variable in interface org.sonarsource.scanner.api.ScannerProperties
-
Working directory containing generated reports and temporary data.
All Classes All Packages