Class EAR

    • Constructor Detail

      • EAR

        public EAR​(String ear)
        Parameters:
        ear - the location of the EAR being wrapped.
    • Method Detail

      • getWebContexts

        public List<String> getWebContexts()
        Returns:
        the list of Web contexts of all WAR files contained in the wrapped EAR
      • getWebUris

        public List<String> getWebUris()
        Returns:
        the list of Web URIs of all WAR files contained in the wrapped EAR
      • getWebUri

        public String getWebUri​(String context)
        Parameters:
        context - the context for which we want to find out the web URI
        Returns:
        the web URI for the WAR matching the context passed as parameter
      • getType

        public DeployableType getType()
        Returns:
        the deployable's type (war, ear, etc)