Package org.jboss.arquillian.drone.impl
Class DeploymentDronePointsRegistry
java.lang.Object
org.jboss.arquillian.drone.impl.DeploymentDronePointsRegistry
This registry keeps all
DronePoints with the DronePoint.Lifecycle.DEPLOYMENT scope and the reference
to the instance of the test class the DronePoint is declared in-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDronePoint(DronePoint<?> deploymentDronePoint, Object testClass) Adds aDronePointto the registry with the test class the DronePoint is declared inMap<DronePoint<?>,Object> filterDeploymentDronePoints(String deploymentName) Filter for finding deploymentDronePoints tied to a deployment with the given deployment name
-
Constructor Details
-
DeploymentDronePointsRegistry
public DeploymentDronePointsRegistry()
-
-
Method Details
-
addDronePoint
Adds aDronePointto the registry with the test class the DronePoint is declared in- Parameters:
deploymentDronePoint- aDronePointto registertestClass- a test class theDronePointis declared in- Returns:
- whether the addition was successful or not
-
filterDeploymentDronePoints
Filter for finding deploymentDronePoints tied to a deployment with the given deployment name- Parameters:
deploymentName- name of a deployment the injection points should be tied to- Returns:
- a map of DronePoints and testClasses tied to a deployment with the given deployment name
-