Class DeploymentDescription
- java.lang.Object
-
- org.jboss.arquillian.container.spi.client.deployment.DeploymentDescription
-
public class DeploymentDescription extends Object
Deployment- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description DeploymentDescription(String name, org.jboss.shrinkwrap.api.Archive<?> archive)DeploymentDescription(String name, org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.shrinkwrap.api.Archive<?>getArchive()org.jboss.shrinkwrap.descriptor.api.DescriptorgetDescriptor()Class<? extends Exception>getExpectedException()StringgetName()intgetOrder()ProtocolDescriptiongetProtocol()TargetDescriptiongetTarget()org.jboss.shrinkwrap.api.Archive<?>getTestableArchive()booleanisArchiveDeployment()booleanisDescriptorDeployment()booleanmanaged()DeploymentDescriptionsetExpectedException(Class<? extends Exception> expectedException)DeploymentDescriptionsetOrder(int order)DeploymentDescriptionsetProtocol(ProtocolDescription protocol)DeploymentDescriptionsetTarget(TargetDescription target)DeploymentDescriptionsetTestableArchive(org.jboss.shrinkwrap.api.Archive<?> testableArchive)DeploymentDescriptionshouldBeManaged(boolean startup)DeploymentDescriptionshouldBeTestable(boolean testable)booleantestable()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
getOrder
public int getOrder()
- Returns:
- the order
-
setOrder
public DeploymentDescription setOrder(int order)
- Parameters:
order- the order to set
-
getTarget
public TargetDescription getTarget()
- Returns:
- the target
-
setTarget
public DeploymentDescription setTarget(TargetDescription target)
- Parameters:
target- the target to set
-
getProtocol
public ProtocolDescription getProtocol()
- Returns:
- the protocol
-
setProtocol
public DeploymentDescription setProtocol(ProtocolDescription protocol)
- Parameters:
protocol- the protocol to set
-
shouldBeManaged
public DeploymentDescription shouldBeManaged(boolean startup)
-
managed
public boolean managed()
- Returns:
- the startup
-
shouldBeTestable
public DeploymentDescription shouldBeTestable(boolean testable)
- Parameters:
testable- the testable to set
-
testable
public boolean testable()
- Returns:
- the testable
-
getTestableArchive
public org.jboss.shrinkwrap.api.Archive<?> getTestableArchive()
- Returns:
- the testableArchive
-
setTestableArchive
public DeploymentDescription setTestableArchive(org.jboss.shrinkwrap.api.Archive<?> testableArchive)
- Parameters:
testableArchive- the testableArchive to set
-
getExpectedException
public Class<? extends Exception> getExpectedException()
- Returns:
- the expectedException
-
setExpectedException
public DeploymentDescription setExpectedException(Class<? extends Exception> expectedException)
- Parameters:
expectedException- the expectedException to set
-
getArchive
public org.jboss.shrinkwrap.api.Archive<?> getArchive()
- Returns:
- the archive
-
getDescriptor
public org.jboss.shrinkwrap.descriptor.api.Descriptor getDescriptor()
- Returns:
- the descriptor
-
isDescriptorDeployment
public boolean isDescriptorDeployment()
-
isArchiveDeployment
public boolean isArchiveDeployment()
-
-