|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.batch.bootstrapper.ProjectDefinition
@Deprecated public class ProjectDefinition
Describes project in a form suitable to bootstrap Sonar batch. We assume that project is just a set of configuration properties and directories.
Constructor Summary | |
---|---|
ProjectDefinition(File baseDir,
File workDir,
Properties properties)
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectDefinition(File baseDir, File workDir, Properties properties)
baseDir
- project base directoryproperties
- project propertiesMethod Detail |
---|
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |