org.jboss.arquillian.container.spi.client.deployment
Class DeploymentDescription
java.lang.Object
org.jboss.arquillian.container.spi.client.deployment.DeploymentDescription
public class DeploymentDescription
- extends Object
Deployment
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
DeploymentDescription
public DeploymentDescription(String name,
org.jboss.shrinkwrap.api.Archive<?> archive)
DeploymentDescription
public DeploymentDescription(String name,
org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
getName
public String getName()
- Returns:
- the name
setOrder
public DeploymentDescription setOrder(int order)
- Parameters:
order
- the order to set
getOrder
public int getOrder()
- Returns:
- the order
setTarget
public DeploymentDescription setTarget(TargetDescription target)
- Parameters:
target
- the target to set
getTarget
public TargetDescription getTarget()
- Returns:
- the target
setProtocol
public DeploymentDescription setProtocol(ProtocolDescription protocol)
- Parameters:
protocol
- the protocol to set
getProtocol
public ProtocolDescription getProtocol()
- Returns:
- the protocol
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()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.