public interface ProjectResourceResolver<T extends Project>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPom(org.uberfire.backend.vfs.Path resource)
Return true if the file is the Project's pom.xml file
|
Package |
resolveDefaultPackage(Project project) |
org.uberfire.backend.vfs.Path |
resolveDefaultPath(Package pkg,
String resourceType)
Given a package and a resource extension resolves the target path where the resource should be placed by default.
|
Package |
resolveDefaultWorkspacePackage(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) |
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<Package> resolvePackages(Project project)
project - org.uberfire.backend.vfs.Path resolveDefaultPath(Package pkg, String resourceType)
pkg - A package within a project.resourceType - a file extension.boolean isPom(org.uberfire.backend.vfs.Path resource)
resource - Package resolvePackage(org.uberfire.backend.vfs.Path resource)
resource - Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.