Package org.sonarsource.scanner.lib
Class AnalysisProperties
java.lang.Object
org.sonarsource.scanner.lib.AnalysisProperties
Most commonly used properties for an analysis.
See documentation
for more details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUsed to define the exact key of each module.static final StringProperty used to specify the base directory of the project to analyse.static final StringOptional descriptionstatic final StringRequired project keystatic final Stringstatic final StringRequired paths to source directories, separated by commas, for example: "srcDir1,srcDir2"static final StringEncoding of source and test files.static final StringOptional paths to test directories, separated by commas, for example: "testDir1,testDir2"static final String -
Method Summary
-
Field Details
-
PROJECT_KEY
Required project key- See Also:
-
MODULE_KEY
Used to define the exact key of each module. IfPROJECT_KEYis used instead on a module, then final key of the module will be <parent module key>:<PROJECT_KEY>.- Since:
- SonarQube 4.1
- See Also:
-
PROJECT_NAME
- See Also:
-
PROJECT_VERSION
- See Also:
-
PROJECT_DESCRIPTION
Optional description- See Also:
-
PROJECT_SOURCE_DIRS
Required paths to source directories, separated by commas, for example: "srcDir1,srcDir2"- See Also:
-
PROJECT_TEST_DIRS
Optional paths to test directories, separated by commas, for example: "testDir1,testDir2"- See Also:
-
PROJECT_BASEDIR
Property used to specify the base directory of the project to analyse. Default is ".".- See Also:
-
PROJECT_SOURCE_ENCODING
Encoding of source and test files. By default, it's the platform encoding.- See Also:
-