Uses of Interface
org.jboss.forge.resources.Resource

Packages that use Resource
org.jboss.forge.project.facets   
org.jboss.forge.project.services   
org.jboss.forge.resources   
org.jboss.forge.resources.events   
org.jboss.forge.resources.java   
org.jboss.forge.shell   
org.jboss.forge.shell.command   
org.jboss.forge.shell.events   
org.jboss.forge.shell.util   
 

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
<E,T extends Resource<E>>
T
ResourceFactory.createFromType(Class<T> type, E underlyingResource)
           
 

Methods in org.jboss.forge.project.services that return Resource
 Resource<File> ResourceFactory.getResourceFrom(File file)
           
 

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 FileResource<T extends FileResource<?>>
          A standard, built-in resource for representing files on the filesystem.
 class UnknownFileResource
          Represents any regular file which Forge does not hav any special handler for.
 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
<E,T extends Resource<E>>
T
DirectoryResource.getChildOfType(Class<T> type, String name)
          Using the given type, obtain a reference to the child resource of the given type.
<R extends Resource<?>>
R
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.
<R extends Resource<?>>
R
AbstractResource.reify(Class<R> type)
           
<R extends Resource<?>>
R
FileResource.reify(Class<R> type)
           
 

Methods in org.jboss.forge.resources that return Resource
 Resource<File> DependencyResource.createFrom(File file)
           
abstract  Resource<File> FileResource.createFrom(File file)
          Create a new Resource instance for the target file.
 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<T> VirtualResource.createFrom(T resource)
           
 Resource<?> Resource.getChild(String name)
          Get a child of this resource.
 Resource<?> VirtualResource.getChild(String name)
           
 Resource<?> DirectoryResource.getChild(String name)
          Obtain a reference to the child resource.
 Resource<?> FileResource.getChild(String name)
           
 Resource<?> Resource.getParent()
          Get the parent of the current resource.
 Resource<?> AbstractResource.getParent()
           
 Resource<?> DirectoryResource.getParent()
           
 Resource<?> FileResource.getParent()
          Get the parent of the current resource.
 

Methods in org.jboss.forge.resources that return types with arguments of type Resource
 List<Resource<?>> Resource.listResources()
          Return a list of child resources of the current resource.
 List<Resource<?>> DependencyResource.listResources()
           
 List<Resource<?>> DirectoryResource.listResources()
           
 List<Resource<?>> UnknownFileResource.listResources()
           
 List<Resource<?>> Resource.listResources(ResourceFilter filter)
          Return a list of child resources of the current resource matching the given ResourceFilter.
 List<Resource<?>> AbstractResource.listResources(ResourceFilter filter)
           
 

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)
           
VirtualResource(Resource<?> parent)
           
VirtualResource(ResourceFactory factory, Resource<?> parent)
           
 

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<?,T>>
           
 class JavaMethodResource
           
 class JavaResource
           
 

Methods in org.jboss.forge.resources.java that return Resource
 Resource<Field<JavaSource<?>>> JavaFieldResource.createFrom(Field<JavaSource<?>> file)
           
 Resource<Method<JavaSource<?>>> JavaMethodResource.createFrom(Method<JavaSource<?>> 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
 List<Resource<?>> JavaMethodResource.listResources()
           
 List<Resource<?>> JavaFieldResource.listResources()
           
 List<Resource<?>> JavaResource.listResources()
           
 List<Resource<?>> JavaMemberResource.listResources()
           
 

Constructors in org.jboss.forge.resources.java with parameters of type Resource
JavaMemberResource(Resource<?> parent, T member)
           
JavaMethodResource(Resource<?> parent, Method<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<?>>> PluginMetadata.getResourceScopes()
          Get the Resource scopes for which this plugin is available.
 Set<Class<? extends Resource>> CommandMetadata.getResourceScopes()
          Return the set of Resource types for which this command is in scope, or 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
<E extends Resource<?>,R extends Collection<E>>
R
ResourceUtil.filter(ResourceFilter filter, Collection<E> list)
           
static
<E extends Resource<?>,R extends Collection<E>,I extends Collection<Resource<?>>>
R
ResourceUtil.filterByType(Class<E> type, I list)
           
static
<E extends Resource<?>,R extends Collection<E>,I extends Collection<Resource<?>>>
R
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)
           
 



Copyright © 2011 Seam Framework. All Rights Reserved.