org.jboss.arquillian.container.spi.client.deployment
Class DeploymentScenario

java.lang.Object
  extended by org.jboss.arquillian.container.spi.client.deployment.DeploymentScenario

public class DeploymentScenario
extends Object

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
DeploymentScenario()
           
 
Method Summary
 DeploymentScenario addDeployment(DeploymentDescription deployment)
           
 List<Deployment> deployedDeployments()
           
 List<Deployment> deployedDeploymentsInUnDeployOrder()
           
 Deployment deployment(DeploymentTargetDescription target)
          Get a DeploymentDescription with a specific name if it exists.
 List<Deployment> deployments()
           
 List<Deployment> deploymentsInError()
           
 List<Deployment> managedDeploymentsInDeployOrder()
           
 Set<ProtocolDescription> protocols()
           
 List<Deployment> startupDeploymentsFor(TargetDescription target)
          Get all DeploymentDescription defined to be deployed during Test startup for a specific TargetDescription ordered.
 Set<TargetDescription> targets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentScenario

public DeploymentScenario()
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 a DeploymentDescription with a specific name if it exists.

Parameters:
target - The name of the DeploymentDescription
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 all DeploymentDescription defined to be deployed during Test startup for a specific TargetDescription ordered.

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


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.