Class TestDeployment
java.lang.Object
org.jboss.arquillian.container.test.spi.TestDeployment
Value object that contains the
Archives needed for deployment. With convenience methods for working / manipulating the Archives.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
Constructor Summary
ConstructorsConstructorDescriptionTestDeployment(DeploymentDescription deploymentDescription, org.jboss.shrinkwrap.api.Archive<?> applicationArchive, Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives) TestDeployment(org.jboss.shrinkwrap.api.Archive<?> applicationArchive, Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.shrinkwrap.api.Archive<?>org.jboss.shrinkwrap.api.Archive<?>Convenience method to lookup the user tagged archive for enriching.Collection<org.jboss.shrinkwrap.api.Archive<?>>voidsetProtocolConfiguration(ProtocolConfiguration protocolConfiguration)
-
Constructor Details
-
TestDeployment
public TestDeployment(org.jboss.shrinkwrap.api.Archive<?> applicationArchive, Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives) Deprecated.- Parameters:
applicationArchive- The user definedArchiveauxiliaryArchives- All extra libraryArchives defined by extensions / core / frameworks.
-
TestDeployment
public TestDeployment(DeploymentDescription deploymentDescription, org.jboss.shrinkwrap.api.Archive<?> applicationArchive, Collection<org.jboss.shrinkwrap.api.Archive<?>> auxiliaryArchives) - Parameters:
deploymentDescription- The deployment that backs this TestDeploymentapplicationArchive- The user definedArchiveauxiliaryArchives- All extra libraryArchives defined by extensions / core / frameworks.
-
-
Method Details
-
getTargetDescription
-
getProtocolDescription
-
getDeploymentName
-
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
-
getProtocolConfiguration
-
setProtocolConfiguration
-