@ApplicationScoped public class DefaultProjectResourcePathResolver extends Object implements ProjectResourcePathResolver
| Constructor and Description |
|---|
DefaultProjectResourcePathResolver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String resourceType)
Indicates if this path resolver resolves the given resource type.
|
int |
getPriority() |
org.uberfire.backend.vfs.Path |
resolveDefaultPath(Package pkg)
Given a package resolves where the currently accepted resourceType should be placed by default.
|
public int getPriority()
getPriority in interface ProjectResourcePathResolverpublic boolean accept(String resourceType)
ProjectResourcePathResolveraccept in interface ProjectResourcePathResolverresourceType - a file extension.public org.uberfire.backend.vfs.Path resolveDefaultPath(Package pkg)
ProjectResourcePathResolverresolveDefaultPath in interface ProjectResourcePathResolverpkg - A package within a project.Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.