Arquillian Container Test SPI 1.0.0.CR5

org.jboss.arquillian.container.test.spi
Class TestDeployment

java.lang.Object
  extended by org.jboss.arquillian.container.test.spi.TestDeployment

public class TestDeployment
extends Object

Value object that contains the Archives needed for deployment.
With convenience methods for working / manipulating the Archives.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
TestDeployment(org.jboss.shrinkwrap.api.Archive<?> applicationArchive, Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives)
           
 
Method Summary
 org.jboss.shrinkwrap.api.Archive<?> getApplicationArchive()
           
 org.jboss.shrinkwrap.api.Archive<?> getArchiveForEnrichment()
          Convenience method to lookup the user tagged archive for enriching.
 Collection<org.jboss.shrinkwrap.api.Archive<?>> getAuxiliaryArchives()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDeployment

public TestDeployment(org.jboss.shrinkwrap.api.Archive<?> applicationArchive,
                      Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives)
Parameters:
applicationArchive - The user defined Archive
auxiliaryArchives - All extra library Archives defined by extensions / core / frameworks.
Method Detail

getArchiveForEnrichment

public org.jboss.shrinkwrap.api.Archive<?> getArchiveForEnrichment()
Convenience method to lookup the user tagged archive for enriching.

Returns:
The tagged Archive or ApplicationArchive if none are tagged

getApplicationArchive

public org.jboss.shrinkwrap.api.Archive<?> getApplicationArchive()

getAuxiliaryArchives

public Collection<org.jboss.shrinkwrap.api.Archive<?>> getAuxiliaryArchives()

Arquillian Container Test SPI 1.0.0.CR5

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