FileSystem
@Deprecated public interface ModuleFileSystem extends BatchComponent
Modifier and Type | Method and Description |
---|---|
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.
|
@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()
Charset sourceCharset()
InputFile#encoding()
as encoding may be different for each file.File workingDir()
Copyright © 2009–2015 SonarSource. All rights reserved.