Class DeploymentScenario
- java.lang.Object
-
- org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario
-
public class DeploymentScenario extends Object
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description DeploymentScenario()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentScenarioaddDeployment(DeploymentDescription deployment)List<Deployment>deployedDeployments()List<Deployment>deployedDeploymentsInUnDeployOrder()Deploymentdeployment(DeploymentTargetDescription target)Get aDeploymentDescriptionwith a specific name if it exists.List<Deployment>deployments()List<Deployment>deploymentsInError()List<Deployment>managedDeploymentsInDeployOrder()Set<ProtocolDescription>protocols()List<Deployment>startupDeploymentsFor(TargetDescription target)Get allDeploymentDescriptiondefined to be deployed during Test startup for a specificTargetDescriptionordered.Set<TargetDescription>targets()
-
-
-
Method Detail
-
addDeployment
public DeploymentScenario addDeployment(DeploymentDescription deployment)
-
targets
public Set<TargetDescription> targets()
-
protocols
public Set<ProtocolDescription> protocols()
-
deployment
public Deployment deployment(DeploymentTargetDescription target)
Get aDeploymentDescriptionwith a specific name if it exists.- Parameters:
target- The name of theDeploymentDescription- Returns:
- Defined Deployment or null if not found.
-
managedDeploymentsInDeployOrder
public List<Deployment> managedDeploymentsInDeployOrder()
-
deployedDeploymentsInUnDeployOrder
public List<Deployment> deployedDeploymentsInUnDeployOrder()
-
startupDeploymentsFor
public List<Deployment> startupDeploymentsFor(TargetDescription target)
Get allDeploymentDescriptiondefined to be deployed during Test startup for a specificTargetDescriptionordered.- Parameters:
target- The Target to filter on- Returns:
- A List of found
DeploymentDescription. Will return a empty list if none are found.
-
deploymentsInError
public List<Deployment> deploymentsInError()
-
deployedDeployments
public List<Deployment> deployedDeployments()
-
deployments
public List<Deployment> deployments()
- Returns:
- the deployments
-
-