@Deprecated public class ProjectDefinition extends Object
Constructor and Description |
---|
ProjectDefinition(File baseDir,
File workDir,
Properties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addBinaryDir(String path)
Deprecated.
|
void |
addContainerExtension(Object extension)
Deprecated.
Adds an extension, which would be available in PicoContainer during analysis of this project.
|
void |
addLibrary(String path)
Deprecated.
|
void |
addModule(ProjectDefinition projectDefinition)
Deprecated.
|
void |
addSourceDir(String path)
Deprecated.
|
void |
addTestDir(String path)
Deprecated.
|
File |
getBaseDir()
Deprecated.
|
List<String> |
getBinaries()
Deprecated.
|
List<Object> |
getContainerExtensions()
Deprecated.
|
List<String> |
getLibraries()
Deprecated.
|
List<ProjectDefinition> |
getModules()
Deprecated.
|
Properties |
getProperties()
Deprecated.
|
List<String> |
getSourceDirs()
Deprecated.
|
List<String> |
getTestDirs()
Deprecated.
|
File |
getWorkDir()
Deprecated.
|
ProjectDefinition |
toNewProjectDefinition()
Deprecated.
|
public ProjectDefinition(File baseDir, File workDir, Properties properties)
baseDir
- project base directoryproperties
- project propertiespublic File getBaseDir()
public File getWorkDir()
public Properties getProperties()
public List<String> getSourceDirs()
public void addSourceDir(String path)
public List<String> getTestDirs()
public void addTestDir(String path)
path
- path to directory with test sources.
It can be absolute or relative to project directory.public List<String> getBinaries()
public void addBinaryDir(String path)
path
- path to directory with compiled source. In case of Java this is directory with class files.
It can be absolute or relative to project directory.public List<String> getLibraries()
public void addLibrary(String path)
path
- path to file with third-party library. In case of Java this is path to jar file.
It can be absolute or relative to project directory.public void addContainerExtension(Object extension)
public List<Object> getContainerExtensions()
public void addModule(ProjectDefinition projectDefinition)
public List<ProjectDefinition> getModules()
public ProjectDefinition toNewProjectDefinition()
Copyright © 2009-2012 SonarSource. All Rights Reserved.