Class AbstractModuleDescriptorParser

    • Constructor Detail

      • AbstractModuleDescriptorParser

        public AbstractModuleDescriptorParser()
    • Method Detail

      • getType

        public java.lang.String getType()
        Description copied from interface: ModuleDescriptorParser
        Return the 'type' of module artifacts this parser is parsing
        Specified by:
        getType in interface ModuleDescriptorParser
        Returns:
        the 'type' of module artifacts this parser is parsing
      • getMetadataArtifact

        public Artifact getMetadataArtifact​(ModuleRevisionId mrid,
                                            Resource res)
        Description copied from interface: ModuleDescriptorParser
        Returns the module metadata artifact corresponding to the given module revision id that this parser parses
        Specified by:
        getMetadataArtifact in interface ModuleDescriptorParser
        Parameters:
        mrid - the module revision id for which the module artifact should be returned
        res - the resource for which the module artifact should be returned
        Returns:
        the module artifact corresponding to the given mrid and resource