public class DeploymentDescription extends Object
Constructor and Description |
---|
DeploymentDescription(String name,
org.jboss.shrinkwrap.api.Archive<?> archive) |
DeploymentDescription(String name,
org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
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() |
public DeploymentDescription(String name, org.jboss.shrinkwrap.api.Archive<?> archive)
public DeploymentDescription(String name, org.jboss.shrinkwrap.descriptor.api.Descriptor descriptor)
public String getName()
public DeploymentDescription setOrder(int order)
order
- the order to setpublic int getOrder()
public DeploymentDescription setTarget(TargetDescription target)
target
- the target to setpublic TargetDescription getTarget()
public DeploymentDescription setProtocol(ProtocolDescription protocol)
protocol
- the protocol to setpublic ProtocolDescription getProtocol()
public DeploymentDescription shouldBeManaged(boolean startup)
public boolean managed()
public DeploymentDescription shouldBeTestable(boolean testable)
testable
- the testable to setpublic boolean testable()
public org.jboss.shrinkwrap.api.Archive<?> getTestableArchive()
public DeploymentDescription setTestableArchive(org.jboss.shrinkwrap.api.Archive<?> testableArchive)
testableArchive
- the testableArchive to setpublic Class<? extends Exception> getExpectedException()
public DeploymentDescription setExpectedException(Class<? extends Exception> expectedException)
expectedException
- the expectedException to setpublic org.jboss.shrinkwrap.api.Archive<?> getArchive()
public org.jboss.shrinkwrap.descriptor.api.Descriptor getDescriptor()
public boolean isDescriptorDeployment()
public boolean isArchiveDeployment()
Copyright © 2014 JBoss by Red Hat. All rights reserved.