Skip navigation links
A C D E G I L M O P R S T V 

A

addContainerExtension(Object) - Method in class org.sonar.runner.Runner
 

C

checkExistenceOfDirectories(String, File, String[]) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
checkMandatoryProperties(Properties, String[]) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
checkSonarVersion(Bootstrapper) - Method in class org.sonar.runner.Runner
 
checkUnicityOfChildKey(ProjectDefinition, ProjectDefinition) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
cleanAggregatorProjectProperties(ProjectDefinition) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
cleanAndCheckModuleProperties(ProjectDefinition) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
cleanAndCheckProjectDefinitions(ProjectDefinition) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
create(Properties) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
create(Properties) - Static method in class org.sonar.runner.Runner
Creates a Runner based only on the given properties.
create(Properties, File) - Static method in class org.sonar.runner.Runner
Creates a Runner based only on the properties and with the given base directory.

D

DEF_VALUE_WORK_DIRECTORY - Static variable in class org.sonar.runner.Runner
Default value of the working directory.

E

execute() - Method in class org.sonar.runner.internal.batch.Launcher
Main entry point.
execute() - Method in class org.sonar.runner.Runner
Runs a Sonar analysis.
extractModuleProperties(String, Properties) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 

G

generateProjectDefinition() - Method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
getFileFromPath(String, File) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
Returns the file denoted by the given path, may this path be relative to "baseDir" or absolute.
getJarPath() - Static method in class org.sonar.runner.Runner
For unknown reasons getClass().getProtectionDomain().getCodeSource().getLocation() doesn't work under Ant 1.7.0.
getLibraries(File, String) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
Returns files matching specified pattern.
getListFromProperty(Properties, String) - Static method in class org.sonar.runner.internal.batch.SonarRunnerUtils
Transforms a comma-separated list String property in to a array of trimmed strings.
getProjectDir() - Method in class org.sonar.runner.Runner
 
getProperties() - Method in class org.sonar.runner.Runner
 
getSonarServerURL() - Method in class org.sonar.runner.Runner
 
getSourceCodeEncoding() - Method in class org.sonar.runner.Runner
 
getSqlLevel(Configuration) - Static method in class org.sonar.runner.internal.batch.Launcher
 
getSqlResultsLevel(Configuration) - Static method in class org.sonar.runner.internal.batch.Launcher
 
getVersion() - Static method in enum org.sonar.runner.Version
 
getWorkDir() - Method in class org.sonar.runner.Runner
 

I

initModuleWorkDir(Properties) - Method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
initRootProjectWorkDir(File) - Method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
isDebug() - Method in class org.sonar.runner.internal.batch.Launcher
 
isEncodingPlatformDependant() - Method in class org.sonar.runner.Runner
 

L

Launcher - Class in org.sonar.runner.internal.batch
Contrary to Runner, this class is executed within the classloader provided by the server.
Launcher(Properties, List<Object>) - Constructor for class org.sonar.runner.internal.batch.Launcher
 
loadPropsFile(ProjectDefinition, Properties, String) - Method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 

M

Main - Class in org.sonar.runner
Arguments : runner.home: optional path to runner home (root directory with sub-directories bin, lib and conf) runner.settings: optional path to runner global settings, usually ${runner.home}/conf/sonar-runner.properties.
main(String[]) - Static method in class org.sonar.runner.Main
Entry point of the program.
mergeParentProperties(Properties, Properties) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 

O

org.sonar.runner - package org.sonar.runner
API package of the Sonar Runner.
org.sonar.runner.internal.batch - package org.sonar.runner.internal.batch
Internal package that creates the project definition and launches the analyses based on it.

P

prefixProjectKeyWithParentKey(Properties, String) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
PROPERTY_ENVIRONMENT_INFORMATION_KEY - Static variable in class org.sonar.runner.Runner
Property used to specify the name of the tool that will run a Sonar analysis.
PROPERTY_ENVIRONMENT_INFORMATION_VERSION - Static variable in class org.sonar.runner.Runner
Property used to specify the version of the tool that will run a Sonar analysis.
PROPERTY_OLD_DEBUG_MODE - Static variable in class org.sonar.runner.Runner
Deprecated.
Replaced by sonar.verbose since 1.2
PROPERTY_SONAR_PROJECT_BASEDIR - Static variable in class org.sonar.runner.Runner
Property used to specify the base directory of the project to analyse.
PROPERTY_VERBOSE - Static variable in class org.sonar.runner.Runner
Property used to increase logging information.
PROPERTY_WORK_DIRECTORY - Static variable in class org.sonar.runner.Runner
Property used to specify the working directory for the runner.

R

replaceDeprecatedProperties(Properties) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
Replaces the deprecated properties by the new ones, and logs a message to warn the users.
Runner - Class in org.sonar.runner
Sonar Runner class that can be used to launch Sonar analyses.
RunnerException - Exception in org.sonar.runner
Exception thrown by the Sonar Runner when something bad happens.
RunnerException(String) - Constructor for exception org.sonar.runner.RunnerException
RunnerException(Throwable) - Constructor for exception org.sonar.runner.RunnerException
RunnerException(String, Throwable) - Constructor for exception org.sonar.runner.RunnerException

S

setEnvironmentInformation(String, String) - Method in class org.sonar.runner.Runner
Allows to overwrite the environment information when Sonar Runner is embedded in a specific tool (for instance, with the Sonar Ant Task).
setProjectKeyAndNameIfNotDefined(Properties, String) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 
setUnmaskedPackages(String...) - Method in class org.sonar.runner.Runner
 
SonarProjectBuilder - Class in org.sonar.runner.internal.batch
Class that creates a Sonar project definition based on a set of properties.
SonarRunnerUtils - Class in org.sonar.runner.internal.batch
Public utility that can be used by consumers of the Sonar Runner.

T

toProperties(File) - Static method in class org.sonar.runner.internal.batch.SonarProjectBuilder
 

V

valueOf(String) - Static method in enum org.sonar.runner.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonar.runner.Version
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Enum in org.sonar.runner
 
A C D E G I L M O P R S T V 
Skip navigation links

Copyright © 2011–2016 SonarSource. All rights reserved.