Class AnnotationFilter
- java.lang.Object
-
- org.jboss.arquillian.drone.spi.filter.AnnotationFilter
-
- All Implemented Interfaces:
DronePointFilter<Object>
public class AnnotationFilter extends Object implements DronePointFilter<Object>
Filter for finding injection points by the qualifier.
-
-
Constructor Summary
Constructors Constructor Description AnnotationFilter(Annotation... annotations)Creates an annotation filter, which will match drone points annotated with all annotation supplies.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepts(DroneContext context, DronePoint<?> dronePoint)Returns true if the injection point is accepted, false otherwise.
-
-
-
Constructor Detail
-
AnnotationFilter
public AnnotationFilter(Annotation... annotations)
Creates an annotation filter, which will match drone points annotated with all annotation supplies.
-
-
Method Detail
-
accepts
public boolean accepts(DroneContext context, DronePoint<?> dronePoint)
Description copied from interface:DronePointFilterReturns true if the injection point is accepted, false otherwise.- Specified by:
acceptsin interfaceDronePointFilter<Object>dronePoint- injection point of the drone.
-
-