Package | Description |
---|---|
org.sonar.api.batch.bootstrap |
Modifier and Type | Method and Description |
---|---|
ProjectDefinition |
ProjectDefinition.addBinaryDir(File f) |
ProjectDefinition |
ProjectDefinition.addBinaryDir(String path) |
ProjectDefinition |
ProjectDefinition.addContainerExtension(Object extension)
Adds an extension, which would be available in PicoContainer during analysis of this project.
|
ProjectDefinition |
ProjectDefinition.addSourceDirs(File... dirs) |
ProjectDefinition |
ProjectDefinition.addSourceDirs(String... paths) |
ProjectDefinition |
ProjectDefinition.addSourceFiles(File... files)
Adding source files is possible only if no source directories have been set.
|
ProjectDefinition |
ProjectDefinition.addSourceFiles(String... paths)
Adding source files is possible only if no source directories have been set.
|
ProjectDefinition |
ProjectDefinition.addSubProject(ProjectDefinition child) |
ProjectDefinition |
ProjectDefinition.addTestDirs(File... dirs) |
ProjectDefinition |
ProjectDefinition.addTestDirs(String... paths) |
ProjectDefinition |
ProjectDefinition.addTestFiles(File... files)
Adding source files is possible only if no source directories have been set.
|
ProjectDefinition |
ProjectDefinition.addTestFiles(String... paths)
Adding source files is possible only if no source directories have been set.
|
static ProjectDefinition |
ProjectDefinition.create() |
static ProjectDefinition |
ProjectDefinition.create(Properties properties)
Deprecated.
in 2.12, because it uses external object to represent internal state.
To ensure backward-compatibility with Ant task this method cannot clone properties,
so other callers must explicitly make clone of properties before passing into this method.
Thus better to use
create() with combination of other methods like setProperties(Properties) and setProperty(String, String) . |
ProjectDefinition |
ProjectDefinition.getParent() |
ProjectDefinition |
ProjectReactor.getProject(String key) |
ProjectDefinition |
ProjectReactor.getRoot() |
ProjectDefinition |
ProjectDefinition.resetSourceDirs() |
ProjectDefinition |
ProjectDefinition.resetTestDirs() |
ProjectDefinition |
ProjectDefinition.setBaseDir(File baseDir) |
ProjectDefinition |
ProjectDefinition.setDescription(String s) |
ProjectDefinition |
ProjectDefinition.setKey(String key) |
ProjectDefinition |
ProjectDefinition.setName(String s) |
ProjectDefinition |
ProjectDefinition.setProperties(Properties properties)
Copies specified properties into this object.
|
ProjectDefinition |
ProjectDefinition.setProperty(String key,
String value) |
ProjectDefinition |
ProjectDefinition.setSourceDirs(File... dirs) |
ProjectDefinition |
ProjectDefinition.setSourceDirs(String... paths) |
ProjectDefinition |
ProjectDefinition.setTestDirs(File... dirs) |
ProjectDefinition |
ProjectDefinition.setTestDirs(String... paths) |
ProjectDefinition |
ProjectDefinition.setVersion(String s) |
ProjectDefinition |
ProjectDefinition.setWorkDir(File workDir) |
Modifier and Type | Method and Description |
---|---|
List<ProjectDefinition> |
ProjectReactor.getProjects() |
List<ProjectDefinition> |
ProjectDefinition.getSubProjects() |
Modifier and Type | Method and Description |
---|---|
ProjectDefinition |
ProjectDefinition.addSubProject(ProjectDefinition child) |
Constructor and Description |
---|
ProjectReactor(ProjectDefinition root) |
Copyright © 2009-2013 SonarSource. All Rights Reserved.