org.jboss.arquillian.container.spi.client.deployment
Class DeploymentDescription

java.lang.Object
  extended by org.jboss.arquillian.container.spi.client.deployment.DeploymentDescription

public class DeploymentDescription
extends Object

Deployment

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
DeploymentDescription(String name, org.jboss.shrinkwrap.api.Archive<?> archive)
           
DeploymentDescription(String name, org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
           
 
Method Summary
 org.jboss.shrinkwrap.api.Archive<?> getArchive()
           
 org.jboss.shrinkwrap.descriptor.api.Descriptor getDescriptor()
           
 Class<? extends Exception> getExpectedException()
           
 String getName()
           
 int getOrder()
           
 ProtocolDescription getProtocol()
           
 TargetDescription getTarget()
           
 org.jboss.shrinkwrap.api.Archive<?> getTestableArchive()
           
 boolean isArchiveDeployment()
           
 boolean isDescriptorDeployment()
           
 boolean managed()
           
 DeploymentDescription setExpectedException(Class<? extends Exception> expectedException)
           
 DeploymentDescription setOrder(int order)
           
 DeploymentDescription setProtocol(ProtocolDescription protocol)
           
 DeploymentDescription setTarget(TargetDescription target)
           
 DeploymentDescription setTestableArchive(org.jboss.shrinkwrap.api.Archive<?> testableArchive)
           
 DeploymentDescription shouldBeManaged(boolean startup)
           
 DeploymentDescription shouldBeTestable(boolean testable)
           
 boolean testable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentDescription

public DeploymentDescription(String name,
                             org.jboss.shrinkwrap.api.Archive<?> archive)

DeploymentDescription

public DeploymentDescription(String name,
                             org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
Method Detail

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.