public Settings settings() { return new Settings(); } }
/** * Create empty settings. Definition of available properties is loaded from the given annotated class. * This method is usually used by unit tests. */ public static Settings createForComponent(Object component) { return new Settings(new PropertyDefinitions(component)); }
private SensorContextTester(File moduleBaseDir) { this.settings = new Settings(); this.fs = new DefaultFileSystem(moduleBaseDir); this.activeRules = new ActiveRulesBuilder().build(); this.analysisMode = new MockAnalysisMode(); this.sensorStorage = new InMemorySensorStorage(); }