|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Resource in org.jboss.forge.project.build |
|---|
| Methods in org.jboss.forge.project.build that return Resource | |
|---|---|
Resource<?> |
ProjectBuilder.build()
Execute the build. |
| Uses of Resource in org.jboss.forge.project.facets |
|---|
| Methods in org.jboss.forge.project.facets that return Resource | |
|---|---|
Resource<?> |
PackagingFacet.executeBuild(String... args)
Trigger the underlying build system to perform a build with the given arguments or flags. |
Resource<?> |
PackagingFacet.getFinalArtifact()
Return the resource representing the fully built output artifact of this project. |
| Uses of Resource in org.jboss.forge.project.services |
|---|
| Methods in org.jboss.forge.project.services with type parameters of type Resource | ||
|---|---|---|
|
ResourceFactory.createFromType(Class<T> type,
E underlyingResource)
|
|
| Methods in org.jboss.forge.project.services that return Resource | |
|---|---|
Resource<File> |
ResourceFactory.getResourceFrom(File file)
|
| Method parameters in org.jboss.forge.project.services with type arguments of type Resource | |
|---|---|
void |
ResourceFactory.scan(javax.enterprise.inject.spi.ProcessBean<Resource<?>> event,
javax.enterprise.inject.spi.BeanManager manager)
|
| Uses of Resource in org.jboss.forge.resources |
|---|
| Classes in org.jboss.forge.resources that implement Resource | |
|---|---|
class |
AbstractResource<T>
|
class |
DependencyResource
|
class |
DirectoryResource
A standard, build-in, resource for representing directories on the file-system. |
class |
EntryResource<K,V>
Represents a Key-value entry |
class |
FileResource<T extends FileResource<?>>
A standard, built-in resource for representing files on the filesystem. |
class |
PropertiesFileResource
A property based resource |
class |
UnknownFileResource
Represents any regular file which Forge does not hav any special handler for. |
class |
URLResource
Represents an URL |
class |
VirtualResource<T>
|
| Fields in org.jboss.forge.resources declared as Resource | |
|---|---|
protected Resource<?> |
AbstractResource.parent
|
| Methods in org.jboss.forge.resources with type parameters of type Resource | ||
|---|---|---|
|
DirectoryResource.getChildOfType(Class<T> type,
String name)
Using the given type, obtain a reference to the child resource of the given type. |
|
|
AbstractResource.reify(Class<R> type)
|
|
|
FileResource.reify(Class<R> type)
|
|
|
Resource.reify(Class<R> type)
Ask this Resource if it is actually a resource of the given type; if it is, return a new reference to the
resource as the given type, otherwise return null. |
|
| Methods in org.jboss.forge.resources that return Resource | |
|---|---|
Resource<File> |
PropertiesFileResource.createFrom(File file)
|
Resource<File> |
DependencyResource.createFrom(File file)
|
abstract Resource<File> |
FileResource.createFrom(File file)
Create a new Resource instance for the target file. |
Resource<T> |
VirtualResource.createFrom(T resource)
|
Resource<T> |
Resource.createFrom(T file)
Create a new resource instance for the target resource reference of the type that this current resource is. |
Resource<URL> |
URLResource.createFrom(URL url)
|
Resource<?> |
DirectoryResource.getChild(String name)
Obtain a reference to the child resource. |
Resource<?> |
URLResource.getChild(String name)
|
Resource<?> |
FileResource.getChild(String name)
|
Resource<?> |
VirtualResource.getChild(String name)
|
Resource<?> |
Resource.getChild(String name)
Get a child of this resource. |
Resource<?> |
AbstractResource.getParent()
|
Resource<?> |
DirectoryResource.getParent()
|
Resource<?> |
FileResource.getParent()
Get the parent of the current resource. |
Resource<?> |
Resource.getParent()
Get the parent of the current resource. |
| Methods in org.jboss.forge.resources that return types with arguments of type Resource | |
|---|---|
protected abstract List<Resource<?>> |
AbstractResource.doListResources()
Strategy method for returning child resources. |
protected List<Resource<?>> |
DirectoryResource.doListResources()
|
protected List<Resource<?>> |
PropertiesFileResource.doListResources()
|
protected List<Resource<?>> |
URLResource.doListResources()
|
protected List<Resource<?>> |
EntryResource.doListResources()
|
protected List<Resource<?>> |
UnknownFileResource.doListResources()
|
protected List<Resource<?>> |
DependencyResource.doListResources()
|
List<Resource<?>> |
DeletionAware.getOptionalResources()
Returns a List of additional Resource instances. |
List<Resource<?>> |
DeletionAware.getResources()
Returns a List of additional Resource instances. |
List<Resource<?>> |
AbstractResource.listResources()
|
List<Resource<?>> |
Resource.listResources()
Return a list of child resources of the current resource. |
List<Resource<?>> |
AbstractResource.listResources(ResourceFilter filter)
|
List<Resource<?>> |
Resource.listResources(ResourceFilter filter)
Return a list of child resources of the current resource matching the given ResourceFilter. |
| Methods in org.jboss.forge.resources with parameters of type Resource | |
|---|---|
boolean |
ResourceFilter.accept(Resource<?> resource)
|
| Constructors in org.jboss.forge.resources with parameters of type Resource | |
|---|---|
AbstractResource(ResourceFactory factory,
Resource<?> parent)
|
|
EntryResource(Resource<?> parent,
K key,
V value)
|
|
VirtualResource(Resource<?> parent)
|
|
VirtualResource(ResourceFactory factory,
Resource<?> parent)
|
|
| Uses of Resource in org.jboss.forge.resources.enumtype |
|---|
| Classes in org.jboss.forge.resources.enumtype that implement Resource | |
|---|---|
class |
EnumConstantResource
|
| Methods in org.jboss.forge.resources.enumtype that return Resource | |
|---|---|
Resource<EnumConstant<JavaEnum>> |
EnumConstantResource.createFrom(EnumConstant<JavaEnum> file)
|
| Methods in org.jboss.forge.resources.enumtype that return types with arguments of type Resource | |
|---|---|
protected List<Resource<?>> |
EnumConstantResource.doListResources()
|
| Constructors in org.jboss.forge.resources.enumtype with parameters of type Resource | |
|---|---|
EnumConstantResource(Resource<?> parent,
EnumConstant<JavaEnum> enumConstant)
|
|
| Uses of Resource in org.jboss.forge.resources.events |
|---|
| Methods in org.jboss.forge.resources.events that return Resource | |
|---|---|
Resource<?> |
ResourceEvent.getResource()
|
| Constructors in org.jboss.forge.resources.events with parameters of type Resource | |
|---|---|
ResourceCreated(Resource<?> resource)
|
|
ResourceDeleted(Resource<?> resource)
|
|
ResourceEvent(Resource<?> resource)
|
|
ResourceModified(Resource<?> resource)
|
|
ResourceRenamed(Resource<?> resource,
String originalLocation,
String newLocation)
|
|
TempResourceCreated(Resource<?> resource)
|
|
| Uses of Resource in org.jboss.forge.resources.java |
|---|
| Classes in org.jboss.forge.resources.java that implement Resource | |
|---|---|
class |
JavaFieldResource
|
class |
JavaMemberResource<T extends Member>
|
class |
JavaMethodResource
|
class |
JavaResource
|
| Methods in org.jboss.forge.resources.java that return Resource | |
|---|---|
Resource<Field<? extends JavaSource<?>>> |
JavaFieldResource.createFrom(Field<? extends JavaSource<?>> file)
|
Resource<Method> |
JavaMethodResource.createFrom(Method file)
|
Resource<T> |
JavaMemberResource.createFrom(T file)
|
Resource<?> |
JavaResource.getChild(String name)
|
| Methods in org.jboss.forge.resources.java that return types with arguments of type Resource | |
|---|---|
protected List<Resource<?>> |
JavaResource.doListResources()
|
protected List<Resource<?>> |
JavaMemberResource.doListResources()
|
protected List<Resource<?>> |
JavaMethodResource.doListResources()
|
protected List<Resource<?>> |
JavaFieldResource.doListResources()
|
List<Resource<?>> |
JavaFieldResource.getOptionalResources()
|
List<Resource<?>> |
JavaFieldResource.getResources()
|
| Constructors in org.jboss.forge.resources.java with parameters of type Resource | |
|---|---|
JavaMemberResource(Resource<?> parent,
T member)
|
|
JavaMethodResource(Resource<?> parent,
Method<? extends JavaSource<?>> method)
|
|
| Uses of Resource in org.jboss.forge.shell |
|---|
| Methods in org.jboss.forge.shell that return Resource | |
|---|---|
Resource<?> |
Shell.getCurrentResource()
Return the current working Resource of the shell. |
| Methods in org.jboss.forge.shell that return types with arguments of type Resource | |
|---|---|
Class<? extends Resource<?>> |
Shell.getCurrentResourceScope()
Return the type of the Resource on which the Shell is currently operating. |
| Methods in org.jboss.forge.shell with parameters of type Resource | |
|---|---|
void |
Shell.setCurrentResource(Resource<?> resource)
Set the Resource on which the shell should operate. |
| Uses of Resource in org.jboss.forge.shell.command |
|---|
| Methods in org.jboss.forge.shell.command that return types with arguments of type Resource | |
|---|---|
Set<Class<? extends Resource>> |
CommandMetadata.getResourceScopes()
Return the set of Resource types for which this command is in scope, or available. |
Set<Class<? extends Resource<?>>> |
PluginMetadata.getResourceScopes()
Get the Resource scopes for which this plugin is available. |
| Method parameters in org.jboss.forge.shell.command with type arguments of type Resource | |
|---|---|
CommandMetadata |
PluginMetadata.getCommand(String name,
Class<? extends Resource<?>> scope)
Get the command with the given name and Resource scope, if it exists in this plugin. |
boolean |
PluginMetadata.hasCommand(String name,
Class<? extends Resource<?>> scope)
Return true if this plugin defines a command with the given name and Resource scope. |
boolean |
CommandMetadata.usableWithResource(Class<? extends Resource> class1)
Return true if this command is usable with the given resource scope. |
boolean |
PluginMetadata.usableWithScope(Class<? extends Resource> scope)
Return true if this plugin is usable in the given Resource scope |
| Uses of Resource in org.jboss.forge.shell.events |
|---|
| Methods in org.jboss.forge.shell.events that return Resource | |
|---|---|
Resource<?> |
ResourceChanged.getNewResource()
|
Resource<?> |
ResourceChanged.getOldResource()
|
Resource<?> |
PickupResource.getResource()
|
| Constructors in org.jboss.forge.shell.events with parameters of type Resource | |
|---|---|
PickupResource(Resource<?> resource)
|
|
ResourceChanged(Resource<?> oldResource,
Resource<?> newResource)
|
|
ResourceChanged(Resource<?> oldResource,
Resource<?> newResource)
|
|
| Uses of Resource in org.jboss.forge.shell.util |
|---|
| Methods in org.jboss.forge.shell.util with type parameters of type Resource | ||
|---|---|---|
static
|
ResourceUtil.filter(ResourceFilter filter,
Collection<E> list)
|
|
static
|
ResourceUtil.filterByType(Class<E> type,
I list)
|
|
static
|
ResourceUtil.filterByType(Class<E> type,
I list)
|
|
| Methods in org.jboss.forge.shell.util that return types with arguments of type Resource | |
|---|---|
static List<Resource<?>> |
ResourceUtil.parsePathspec(ResourceFactory factory,
Resource<?> resource,
String pathspec)
|
List<Resource<?>> |
PathspecParser.resolve()
Resolve the results. |
List<? extends Resource<?>> |
JavaPathspecParser.resolve()
|
List<Resource<?>> |
JavaPathspecParser.resolve(ResourceFilter filter)
Resolve the results. |
List<Resource<?>> |
PathspecParser.search()
Perform a search, by doing a breadth-first traversal of the resource tree for resources that match the path string. |
| Methods in org.jboss.forge.shell.util with parameters of type Resource | |
|---|---|
static DirectoryResource |
ResourceUtil.getContextDirectory(Resource<?> r)
|
static File |
ResourceUtil.getContextFile(Resource<?> r)
A simple utility method to locate the outermost contextual File reference for the specified resource. |
static boolean |
ResourceUtil.isChildOf(Resource<?> parent,
Resource<?> isChild)
|
static boolean |
ResourceUtil.isChildOf(Resource<?> parent,
Resource<?> isChild)
|
static List<Resource<?>> |
ResourceUtil.parsePathspec(ResourceFactory factory,
Resource<?> resource,
String pathspec)
|
| Constructors in org.jboss.forge.shell.util with parameters of type Resource | |
|---|---|
PathspecParser(ResourceFactory factory,
Resource<?> res,
String path)
|
|
|
Forge - Shell API 1.2.0.Final | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||