org.sonar.batch.phases
Class SensorMatcher

java.lang.Object
  extended by org.sonar.batch.phases.SensorMatcher
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension, ExtensionMatcher
Direct Known Subclasses:
DefaultSensorMatcher

public abstract class SensorMatcher
extends Object
implements BatchExtension, ExtensionMatcher

Allow to filter sensors that will be executed.

Since:
3.6

Constructor Summary
SensorMatcher()
           
 
Method Summary
 boolean accept(Object extension)
           
abstract  boolean acceptSensor(Sensor sensor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SensorMatcher

public SensorMatcher()
Method Detail

accept

public final boolean accept(Object extension)
Specified by:
accept in interface ExtensionMatcher

acceptSensor

public abstract boolean acceptSensor(Sensor sensor)


Copyright © 2009–2015 SonarSource. All rights reserved.