|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ModuleFileSystem
in 3.5
@Deprecated public interface ProjectFileSystem
Method Summary | |
---|---|
ProjectFileSystem |
addSourceDir(File dir)
Deprecated. since 2.6 - ProjectFileSystem should be immutable See http://jira.codehaus.org/browse/SONAR-2126 |
ProjectFileSystem |
addTestDir(File dir)
Deprecated. since 2.6 - ProjectFileSystem should be immutable See http://jira.codehaus.org/browse/SONAR-2126 |
File |
getBasedir()
Deprecated. Project root directory. |
File |
getBuildDir()
Deprecated. Build directory. |
File |
getBuildOutputDir()
Deprecated. Directory where classes are placed. |
File |
getFileFromBuildDirectory(String filename)
Deprecated. |
List<File> |
getJavaSourceFiles()
Deprecated. since 2.6 use mainFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126 |
File |
getReportOutputDir()
Deprecated. |
File |
getSonarWorkingDirectory()
Deprecated. |
Charset |
getSourceCharset()
Deprecated. Source encoding. |
List<File> |
getSourceDirs()
Deprecated. The list of existing directories with sources |
List<File> |
getSourceFiles(Language... langs)
Deprecated. since 2.6 use mainFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126 |
List<File> |
getTestDirs()
Deprecated. The list of existing directories with tests |
List<File> |
getTestFiles(Language... langs)
Deprecated. since 2.6 use testFiles(String...) instead.
See http://jira.codehaus.org/browse/SONAR-2126 |
boolean |
hasJavaSourceFiles()
Deprecated. since 2.6 - API should be language agnostic |
boolean |
hasTestFiles(Language lang)
Deprecated. since 2.6 - use language key instead of Language object |
List<InputFile> |
mainFiles(String... langs)
Deprecated. Source files, excluding unit tests and files matching project exclusion patterns. |
File |
resolvePath(String path)
Deprecated. |
List<InputFile> |
testFiles(String... langs)
Deprecated. Source files of unit tests. |
Resource |
toResource(File file)
Deprecated. |
File |
writeToWorkingDirectory(String content,
String fileName)
Deprecated. Save data into a new file of Sonar working directory. |
Method Detail |
---|
Charset getSourceCharset()
File getBasedir()
File getBuildDir()
File getBuildOutputDir()
List<File> getSourceDirs()
@Deprecated ProjectFileSystem addSourceDir(File dir)
List<File> getTestDirs()
@Deprecated ProjectFileSystem addTestDir(File dir)
File getReportOutputDir()
File getSonarWorkingDirectory()
File resolvePath(String path)
@Deprecated List<File> getSourceFiles(Language... langs)
mainFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
langs
- language filter. Check all files, whatever their language, if null or empty.@Deprecated List<File> getJavaSourceFiles()
mainFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
@Deprecated boolean hasJavaSourceFiles()
@Deprecated List<File> getTestFiles(Language... langs)
testFiles(String...)
instead.
See http://jira.codehaus.org/browse/SONAR-2126
@Deprecated boolean hasTestFiles(Language lang)
File writeToWorkingDirectory(String content, String fileName) throws IOException
IOException
File getFileFromBuildDirectory(String filename)
Resource toResource(File file)
List<InputFile> mainFiles(String... langs)
langs
- language filter. If null or empty, will return empty listList<InputFile> testFiles(String... langs)
langs
- language filter. If null or empty, will return empty list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |