Class SensorStrategy


  • public class SensorStrategy
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      SensorStrategy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isGlobal()  
      void setGlobal​(boolean global)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SensorStrategy

        public SensorStrategy()
    • Method Detail

      • isGlobal

        public boolean isGlobal()
      • setGlobal

        public void setGlobal​(boolean global)