public class AnnotationFilter extends Object implements DronePointFilter<Object>
| Constructor and Description |
|---|
AnnotationFilter(Annotation... annotations)
Creates an annotation filter, which will match drone points annotated with all annotation supplies.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(DroneContext context,
DronePoint<?> dronePoint)
Returns true if the injection point is accepted, false otherwise.
|
public AnnotationFilter(Annotation... annotations)
public boolean accepts(DroneContext context, DronePoint<?> dronePoint)
DronePointFilteraccepts in interface DronePointFilter<Object>dronePoint - injection point of the drone.Copyright © 2016 JBoss by Red Hat. All rights reserved.