Class SarModule

    • Constructor Detail

      • SarModule

        public SarModule()
        Create an instance.
      • SarModule

        public SarModule​(org.apache.maven.artifact.Artifact a)
        Parameters:
        a - Artifact
    • Method Detail

      • appendModule

        public void appendModule​(org.codehaus.plexus.util.xml.XMLWriter writer,
                                 java.lang.String version,
                                 java.lang.Boolean generateId)
        Appends the XML representation of this module.
        Specified by:
        appendModule in interface EarModule
        Parameters:
        writer - the writer to use
        version - the version of the application.xml file
        generateId - whether an id should be generated
      • appendJbossModule

        public void appendJbossModule​(org.codehaus.plexus.util.xml.XMLWriter writer,
                                      java.lang.String version)
        Appends the XML representation of this module for the jboss-app.xml file.
        Specified by:
        appendJbossModule in interface JbossEarModule
        Parameters:
        writer - the writer to use
        version - the version of the jboss-app.xml file
      • getType

        public java.lang.String getType()
        Returns the type associated to the module.
        Specified by:
        getType in interface EarModule
        Returns:
        the artifact's type of the module