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 voidcopy(org.uberfire.backend.vfs.Path pathToPomXML, String newName, String comment)voidcreateModuleDirectories(org.uberfire.backend.vfs.Path repositoryRoot)voiddelete(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.TnewModule(org.uberfire.backend.vfs.Path repositoryRoot, POM pom)Creates a new module to the given path.TnewModule(org.uberfire.backend.vfs.Path repositoryRoot, POM pom, DeploymentMode mode)Creates a new module to the given path.PackagenewPackage(Package pkg, String packageName)Creates a new package as a child of the provide package.voidreImport(org.uberfire.backend.vfs.Path pathToPomXML)org.uberfire.backend.vfs.Pathrename(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)
-
reImport
void reImport(org.uberfire.backend.vfs.Path pathToPomXML)
-
createModuleDirectories
void createModuleDirectories(org.uberfire.backend.vfs.Path repositoryRoot)
-
-