org.sonar.batch.bootstrapper
Class ProjectDefinition

java.lang.Object
  extended by org.sonar.batch.bootstrapper.ProjectDefinition

Deprecated. since 2.9. Move into org.sonar.api.batch.bootstrap

@Deprecated
public class ProjectDefinition
extends Object

Describes project in a form suitable to bootstrap Sonar batch. We assume that project is just a set of configuration properties and directories.

Since:
2.6

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

ProjectDefinition

public ProjectDefinition(File baseDir,
                         File workDir,
                         Properties properties)
Deprecated. 
Parameters:
baseDir - project base directory
properties - project properties
Method Detail

getBaseDir

public File getBaseDir()
Deprecated. 

getWorkDir

public File getWorkDir()
Deprecated. 

getProperties

public Properties getProperties()
Deprecated. 

getSourceDirs

public List<String> getSourceDirs()
Deprecated. 

addSourceDir

public void addSourceDir(String path)
Deprecated. 

getTestDirs

public List<String> getTestDirs()
Deprecated. 

addTestDir

public void addTestDir(String path)
Deprecated. 
Parameters:
path - path to directory with test sources. It can be absolute or relative to project directory.

getBinaries

public List<String> getBinaries()
Deprecated. 

addBinaryDir

public void addBinaryDir(String path)
Deprecated. 
Parameters:
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.

getLibraries

public List<String> getLibraries()
Deprecated. 

addLibrary

public void addLibrary(String path)
Deprecated. 
Parameters:
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.

addContainerExtension

public void addContainerExtension(Object extension)
Deprecated. 
Adds an extension, which would be available in PicoContainer during analysis of this project.

Since:
2.8

getContainerExtensions

public List<Object> getContainerExtensions()
Deprecated. 
Since:
2.8

addModule

public void addModule(ProjectDefinition projectDefinition)
Deprecated. 
Since:
2.8

getModules

public List<ProjectDefinition> getModules()
Deprecated. 
Since:
2.8

toNewProjectDefinition

public ProjectDefinition toNewProjectDefinition()
Deprecated. 


Copyright © 2009-2012 SonarSource. All Rights Reserved.