public interface ProjectResourceResolver<T extends Project>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPom(Path resource)
Return true if the file is the Project's pom.xml file
|
Package |
resolveDefaultPackage(Project project) |
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(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(Path resource) |
T |
resolveProject(Path resource)
Given a Resource path resolve it to the containing Project Path.
|
Project |
resolveToParentProject(Path resource) |
T resolveProject(Path resource)
resource - Set<Package> resolvePackages(Project project)
project - Path resolveDefaultPath(Package pkg, String resourceType)
pkg - A package within a project.resourceType - a file extension.boolean isPom(Path resource)
resource - Package resolvePackage(Path resource)
resource - Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.