public interface ProjectService<T extends Project>
| 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
|
boolean |
isPom(org.uberfire.backend.vfs.Path resource)
Return true if the file is the Project's pom.xml file
|
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(Repository repository,
POM pom,
String baseURL)
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) |
Package |
resolveDefaultPackage(Project project) |
Package |
resolvePackage(org.uberfire.backend.vfs.Path resource)
Given a Resource path resolve it to the containing Package Path.
|
Set<Package> |
resolvePackages(Package pkg) |
Set<Package> |
resolvePackages(Project project)
Given a Project resolves the calculation of all the packages for this project.
|
Package |
resolveParentPackage(Package pkg) |
Project |
resolveParentProject(org.uberfire.backend.vfs.Path resource) |
T |
resolveProject(org.uberfire.backend.vfs.Path resource)
Given a Resource path resolve it to the containing Project Path.
|
Project |
resolveToParentProject(org.uberfire.backend.vfs.Path resource) |
WorkingSetSettings loadWorkingSetConfig(org.uberfire.backend.vfs.Path project)
T resolveProject(org.uberfire.backend.vfs.Path resource)
resource - Project resolveParentProject(org.uberfire.backend.vfs.Path resource)
Project resolveToParentProject(org.uberfire.backend.vfs.Path resource)
Set<Project> getProjects(Repository repository, String branch)
repository - branch - the branch where we are looking for the projectsPackage resolvePackage(org.uberfire.backend.vfs.Path resource)
resource - Set<Package> resolvePackages(Project project)
project - boolean isPom(org.uberfire.backend.vfs.Path resource)
resource - T newProject(Repository repository, POM pom, String baseURL)
repository - pom - baseURL - the base URL where the Guvnor is hosted in web containerPackage 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.