public interface ModuleServiceCore<T>
Modifier and Type | Method and Description |
---|---|
void |
copy(Path pathToPomXML,
String newName,
String comment) |
void |
createModuleDirectories(Path repositoryRoot) |
void |
delete(Path pathToPomXML,
String comment) |
Set<Module> |
getAllModules(Branch branch)
Gets all the modules from a given branch.
|
T |
newModule(Path repositoryRoot,
POM pom)
Creates a new module to the given path.
|
T |
newModule(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(Path pathToPomXML) |
Path |
rename(Path pathToPomXML,
String newName,
String comment) |
Set<Module> getAllModules(Branch branch)
branch
- the branch where we are looking for the modulesT newModule(Path repositoryRoot, POM pom)
repositoryRoot
- pom
- T newModule(Path repositoryRoot, POM pom, DeploymentMode mode)
repositoryRoot
- pom
- mode
- Should creation check for the existence of other Artifacts with the same GAVPackage newPackage(Package pkg, String packageName)
pkg
- packageName
- void reImport(Path pathToPomXML)
void createModuleDirectories(Path repositoryRoot)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.