Class SensorStrategy

java.lang.Object
org.sonar.api.batch.fs.internal.SensorStrategy

public class SensorStrategy extends Object
A shared, mutable object in the project container. It's used during the execution of sensors to decide whether sensors should be executed once for the entire project, or per-module. It is also injected into each InputFile to change the behavior of InputFile.relativePath()
  • Constructor Details

    • SensorStrategy

      public SensorStrategy()
  • Method Details

    • isGlobal

      public boolean isGlobal()
    • setGlobal

      public void setGlobal(boolean global)