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(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path pathToPomXML,
String comment) |
Set<Project> |
getProjects(Repository repository,
String branch)
Gets a list of the projects in a particular repository
|
WorkingSetSettings |
loadWorkingSetConfig(org.uberfire.backend.vfs.Path project) |
Package |
newPackage(Package pkg,
String packageName)
Creates a new package as a child of the provide package.
|
T |
newProject(org.uberfire.backend.vfs.Path repositoryRoot,
POM pom,
String baseURL)
Creates a new project to the given path.
|
T |
newProject(org.uberfire.backend.vfs.Path repositoryRoot,
POM pom,
String baseURL,
DeploymentMode mode)
Creates a new project to the given path.
|
void |
removeGroup(Project project,
String group)
Remove a group from a project
|
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment) |
WorkingSetSettings loadWorkingSetConfig(org.uberfire.backend.vfs.Path project)
Set<Project> getProjects(Repository repository, String branch)
repository - branch - the branch where we are looking for the projectsT newProject(org.uberfire.backend.vfs.Path repositoryRoot, POM pom, String baseURL)
repositoryRoot - pom - baseURL - the base URL where the Guvnor is hosted in web containerT newProject(org.uberfire.backend.vfs.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 grouporg.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment)
void delete(org.uberfire.backend.vfs.Path pathToPomXML,
String comment)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.