Interface Deployment

All Superinterfaces:
AutoCloseable, Comparable<Deployment>, Lifecycle

public interface Deployment extends Lifecycle, Comparable<Deployment>
Encapsulates an Arquillian deployment.
Author:
Paul Ferraro
  • Method Details

    • getName

      String getName()
      Returns the name of this deployment
      Returns:
      the deployment name
    • getContainer

      DeploymentContainer getContainer()
      Returns the container associated with this deployment.
      Returns:
      the container associated with this deployment.
    • locate

      default URI locate(Class<?> resourceClass)
      Locates the base URI of the specific resource class. For a servlet class, this would return the URI containing the context path of the associated ServletContext.
      Parameters:
      resourceClass - the class of an arquillian resource
      Returns:
      the base URI of the specific resource class.
    • locate

      URI locate(String resourceName)
      Locates the base URI of the specific resource.
      Parameters:
      resourceName - the name of a resource in the deployment
      Returns:
      a URI to be used to invoke the specified resource.
    • compareTo

      default int compareTo(Deployment deployment)
      Specified by:
      compareTo in interface Comparable<Deployment>