Interface ModuleServiceCore<T>

  • All Known Subinterfaces:
    ModuleService<T>

    public interface ModuleServiceCore<T>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void copy​(org.uberfire.backend.vfs.Path pathToPomXML, String newName, String comment)  
      void createModuleDirectories​(org.uberfire.backend.vfs.Path repositoryRoot)  
      void delete​(org.uberfire.backend.vfs.Path pathToPomXML, String comment)  
      Set<Module> getAllModules​(org.guvnor.structure.repositories.Branch branch)
      Gets all the modules from a given branch.
      T newModule​(org.uberfire.backend.vfs.Path repositoryRoot, POM pom)
      Creates a new module to the given path.
      T newModule​(org.uberfire.backend.vfs.Path repositoryRoot, POM pom, DeploymentMode mode)
      Creates a new module to the given path.
      Package newPackage​(Package pkg, String packageName)
      Creates a new package as a child of the provide package.
      void reImport​(org.uberfire.backend.vfs.Path pathToPomXML)  
      org.uberfire.backend.vfs.Path rename​(org.uberfire.backend.vfs.Path pathToPomXML, String newName, String comment)  
    • Method Detail

      • getAllModules

        Set<Module> getAllModules​(org.guvnor.structure.repositories.Branch branch)
        Gets all the modules from a given branch.
        Parameters:
        branch - the branch where we are looking for the modules
        Returns:
      • newModule

        T newModule​(org.uberfire.backend.vfs.Path repositoryRoot,
                    POM pom)
        Creates a new module to the given path.
        Parameters:
        repositoryRoot -
        pom -
        Returns:
      • newModule

        T newModule​(org.uberfire.backend.vfs.Path repositoryRoot,
                    POM pom,
                    DeploymentMode mode)
        Creates a new module to the given path.
        Parameters:
        repositoryRoot -
        pom -
        mode - Should creation check for the existence of other Artifacts with the same GAV
        Returns:
      • newPackage

        Package newPackage​(Package pkg,
                           String packageName)
        Creates a new package as a child of the provide package.
        Parameters:
        pkg -
        packageName -
        Returns:
      • rename

        org.uberfire.backend.vfs.Path rename​(org.uberfire.backend.vfs.Path pathToPomXML,
                                             String newName,
                                             String comment)
      • delete

        void delete​(org.uberfire.backend.vfs.Path pathToPomXML,
                    String comment)
      • copy

        void copy​(org.uberfire.backend.vfs.Path pathToPomXML,
                  String newName,
                  String comment)
      • reImport

        void reImport​(org.uberfire.backend.vfs.Path pathToPomXML)
      • createModuleDirectories

        void createModuleDirectories​(org.uberfire.backend.vfs.Path repositoryRoot)