Class Module


  • @Portable
    public class Module
    extends Object
    An item representing a module. Each module has a pom.xml file and a folder it belongs into, it can have a parent and child modules. Note that the child and parent might not be in the same repository.
    • Field Detail

      • rootPath

        protected org.uberfire.backend.vfs.Path rootPath
      • pomXMLPath

        protected org.uberfire.backend.vfs.Path pomXMLPath
      • pom

        protected POM pom
    • Constructor Detail

      • Module

        public Module()
      • Module

        public Module​(org.uberfire.backend.vfs.Path rootPath,
                      org.uberfire.backend.vfs.Path pomXMLPath,
                      POM pom)
      • Module

        public Module​(org.uberfire.backend.vfs.Path rootPath,
                      org.uberfire.backend.vfs.Path pomXMLPath,
                      POM pom,
                      Collection<String> modules)
      • Module

        public Module​(org.uberfire.backend.vfs.Path rootPath,
                      org.uberfire.backend.vfs.Path pomXMLPath)
    • Method Detail

      • getNumberOfAssets

        public int getNumberOfAssets()
      • setNumberOfAssets

        public void setNumberOfAssets​(int numberOfAssets)
      • getRootPath

        public org.uberfire.backend.vfs.Path getRootPath()
      • getPomXMLPath

        public org.uberfire.backend.vfs.Path getPomXMLPath()
      • getModuleName

        public String getModuleName()
      • getIdentifier

        public String getIdentifier()
      • getEncodedIdentifier

        public String getEncodedIdentifier()
      • getPom

        public POM getPom()
      • setPom

        public void setPom​(POM pom)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object