public class DeploymentFilter extends Object implements DronePointFilter<Object>
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(DroneContext context,
DronePoint<?> dronePoint)
Returns true if the injection point is accepted, false otherwise.
|
public DeploymentFilter()
public DeploymentFilter(String regex)
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.