Package org.sonar.samples.java
Class StartableExtension
java.lang.Object
org.sonar.samples.java.StartableExtension
-
Constructor Summary
ConstructorsConstructorDescriptionStartableExtension(org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.plugins.java.api.JavaResourceLocator javaResourceLocator) Used to check compatibility of extensions, by requiring java resource locator and filesystem, which would trigger exceptions such as: Caused by: org.apache.maven.plugin.MojoExecutionException: Accessing the filesystem before the Sensor phase is not supported. -
Method Summary
-
Constructor Details
-
StartableExtension
public StartableExtension(org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.plugins.java.api.JavaResourceLocator javaResourceLocator) Used to check compatibility of extensions, by requiring java resource locator and filesystem, which would trigger exceptions such as: Caused by: org.apache.maven.plugin.MojoExecutionException: Accessing the filesystem before the Sensor phase is not supported. Please update your plugin.- Parameters:
fileSystem-javaResourceLocator-
-
-
Method Details
-
start
public void start()
-