Class DeploymentDescription


  • public class DeploymentDescription
    extends Object
    Deployment
    Version:
    $Revision: $
    Author:
    Aslak Knutsen
    • 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
      • getOrder

        public int getOrder()
        Returns:
        the order
      • 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()