org.jboss.arquillian.spi
Class Configuration

java.lang.Object
  extended by org.jboss.arquillian.spi.Configuration

public class Configuration
extends Object

Holds the global Arquillian configuration and a Map of ContainerConfiguration implementations objects. It is built by ConfigurationBuilders

Version:
$Revision: $
Author:
German Escobar

Constructor Summary
Configuration()
           
 
Method Summary
 void addContainerConfig(ContainerConfiguration containerConfig)
          Puts a ContainerConfiguration implementation in the containersConfig field.
 ContainerConfiguration getActiveContainerConfiguration()
          Deprecated.  
<T extends ContainerConfiguration>
T
getContainerConfig(Class<T> clazz)
          Retrieves a ContainerConfiguration implementation that matches the clazz parameter.
 String getDeploymentExportPath()
          Get the set export path for deployments.
 void setDeploymentExportPath(String deploymentExportPath)
          Sets the Path used to export deployments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

addContainerConfig

public void addContainerConfig(ContainerConfiguration containerConfig)
Puts a ContainerConfiguration implementation in the containersConfig field. If the ContainerConfiguration already exists, it just replaces it.

Parameters:
containerConfig - the ContainerConfiguration implementation to put.

getContainerConfig

public <T extends ContainerConfiguration> T getContainerConfig(Class<T> clazz)
Retrieves a ContainerConfiguration implementation that matches the clazz parameter.

Type Parameters:
T -
Parameters:
clazz - The actual class of the ContainerConfiguration we are looking for.
Returns:
the ContainerConfiguration implementation that matches the clazz parameter, null otherwise.

getActiveContainerConfiguration

public ContainerConfiguration getActiveContainerConfiguration()
Deprecated. 

Returns:

setDeploymentExportPath

public void setDeploymentExportPath(String deploymentExportPath)
Sets the Path used to export deployments.

Parameters:
deploymentExportPath - String representation of path to use to export archives

getDeploymentExportPath

public String getDeploymentExportPath()
Get the set export path for deployments.

Returns:
Set path or null if not set


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