
public class ActivityDeploymentMapper extends Object
@Deployment annotation which is put on deployment method of
Arquillian in some test case itself. It basically means that you can instrument these activities by Drone instance which is
hooked to the port via @Instrumentable.viaPort| Constructor and Description |
|---|
ActivityDeploymentMapper() |
public void put(String activity, String deployment)
activity to deployment. Every activity which is meant to be instrumented is paired with its
deployment. Deployment name is taken from @Deployment. There can be more than one activity per deployment.activity - deployment - IllegalArgumentException - if either activity or deployment is a null object or an empty string.public String getDeploymentName(String activity)
activity - activity to get the deployment name of@Deployment method where activity is located.IllegalArgumentException - if activity is a null object or an empty stringpublic List<String> getActivities(String deploymentName)
deploymentName - name of the deployment from @Deployment you want to get the list of all activities of@Deployment. It basically means that you can
instrument these activities by Drone instance which is hooked to the port where @Instrumentable.viaPort
is hooked as wellCopyright © 2014 JBoss by Red Hat. All rights reserved.