Class DeploymentFilter
- java.lang.Object
-
- org.jboss.arquillian.drone.spi.filter.DeploymentFilter
-
- All Implemented Interfaces:
DronePointFilter<Object>
public class DeploymentFilter extends Object implements DronePointFilter<Object>
Filter for finding deployment injection points.
-
-
Constructor Summary
Constructors Constructor Description DeploymentFilter()Creates a deployment filter which will match all the deployment injection points.DeploymentFilter(String regex)Creates a deployment filter which will match deployment injection points, whose name matches the regex.
-
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
-
DeploymentFilter
public DeploymentFilter()
Creates a deployment filter which will match all the deployment injection points.
-
DeploymentFilter
public DeploymentFilter(String regex)
Creates a deployment filter which will match deployment injection points, whose name matches the regex.
-
-
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.
-
-