public interface ProjectServiceCore<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(Project project,
String group)
Add a group to a project; limiting access to users with the group
|
void |
copy(Path pathToPomXML,
String newName,
String comment) |
void |
delete(Path pathToPomXML,
String comment) |
Set<Project> |
getAllProjects(Repository repository,
String branch)
Gets all the project from a given repository.
|
Set<Project> |
getProjects(Repository repository,
String branch)
Gets a list of the projects in a particular repository.
|
WorkingSetSettings |
loadWorkingSetConfig(Path project) |
Package |
newPackage(Package pkg,
String packageName)
Creates a new package as a child of the provide package.
|
T |
newProject(Path repositoryRoot,
POM pom,
String baseURL)
Creates a new project to the given path.
|
T |
newProject(Path repositoryRoot,
POM pom,
String baseURL,
DeploymentMode mode)
Creates a new project to the given path.
|
void |
reImport(Path pathToPomXML) |
void |
removeGroup(Project project,
String group)
Remove a group from a project
|
Path |
rename(Path pathToPomXML,
String newName,
String comment) |
WorkingSetSettings loadWorkingSetConfig(Path project)
Set<Project> getAllProjects(Repository repository, String branch)
repository - branch - the branch where we are looking for the projectsSet<Project> getProjects(Repository repository, String branch)
repository - branch - the branch where we are looking for the projectsT newProject(Path repositoryRoot, POM pom, String baseURL)
repositoryRoot - pom - baseURL - the base URL where the Guvnor is hosted in web containerT newProject(Path repositoryRoot, POM pom, String baseURL, DeploymentMode mode)
repositoryRoot - pom - baseURL - the base URL where the Guvnor is hosted in web containermode - Should creation check for the existence of other Artifacts with the same GAVPackage newPackage(Package pkg, String packageName)
pkg - packageName - void addGroup(Project project, String group)
project - The Projectgroup - The required groupvoid removeGroup(Project project, String group)
project - The Projectgroup - The groupvoid reImport(Path pathToPomXML)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.