|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FileSystem
@Deprecated public interface ModuleFileSystem
Method Summary | |
---|---|
File |
baseDir()
Deprecated. Base directory. |
List<File> |
binaryDirs()
Deprecated. since 4.2 sonar.binaries will be converted to java specific property |
File |
buildDir()
Deprecated. Optional directory used by the build tool to generate various kinds of data (test reports, temp files, ...). |
List<File> |
files(FileQuery query)
Deprecated. Search for files. |
Charset |
sourceCharset()
Deprecated. Default charset for files of the module. |
List<File> |
sourceDirs()
Deprecated. since 4.2 use FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#MAIN . |
List<File> |
testDirs()
Deprecated. since 4.2 use FileSystem.files(org.sonar.api.batch.fs.FilePredicate) to get all files with type InputFile.Type#TEST . |
File |
workingDir()
Deprecated. Working directory used by Sonar. |
Method Detail |
---|
File baseDir()
@CheckForNull File buildDir()
List<File> sourceDirs()
FileSystem.files(org.sonar.api.batch.fs.FilePredicate)
to get all files with type InputFile.Type#MAIN
.
List<File> testDirs()
FileSystem.files(org.sonar.api.batch.fs.FilePredicate)
to get all files with type InputFile.Type#TEST
.
List<File> binaryDirs()
List<File> files(FileQuery query)
Charset sourceCharset()
InputFile#encoding()
as encoding may be different for each file.
File workingDir()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |