Forge - Resource Addon API 2.0.0.Alpha3

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

Packages that use Resource
org.jboss.forge.resource   
org.jboss.forge.resource.events   
org.jboss.forge.resource.transaction   
 

Uses of Resource in org.jboss.forge.resource
 

Subinterfaces of Resource in org.jboss.forge.resource
 interface DirectoryResource
          A standard, build-in, resource for representing directories on the file-system.
 interface FileResource<T extends FileResource<T>>
          A standard, built-in resource for representing files on the filesystem.
 interface URLResource
          Represents a URL resource
 

Classes in org.jboss.forge.resource that implement Resource
 class AbstractFileResource<T extends FileResource<T>>
          A standard, built-in resource for representing files on the filesystem.
 class AbstractResource<T>
           
 class VirtualResource<T>
          An abstract implementation of a virtual resource handle.
 

Fields in org.jboss.forge.resource declared as Resource
protected  Resource<?> AbstractResource.parent
           
 

Methods in org.jboss.forge.resource with type parameters of type Resource
<E,T extends Resource<E>>
T
ResourceFactory.create(Class<T> type, E underlyingResource)
          Create a Resource of the given type, using the provided underlying resource instance.
<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.
<T extends Resource<UNDERLYINGTYPE>>
T
ResourceGenerator.getResource(ResourceFactory factory, Class<RESOURCETYPE> type, UNDERLYINGTYPE resource)
          Get an instance of a Resource to handle the given Class type and object instance.
<T extends Resource<UNDERLYINGTYPE>>
Class<?>
ResourceGenerator.getResourceType(Class<RESOURCETYPE> type, UNDERLYINGTYPE resource)
          Get the Resource type that will be generated for the given Class type and object instance.
<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
AbstractFileResource.reify(Class<R> type)
           
 

Methods in org.jboss.forge.resource that return Resource
<E> Resource<E>
ResourceFactory.create(E underlyingResource)
          Create a Resource to represent the provided underlying resource.
abstract  Resource<File> AbstractFileResource.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<?> VirtualResource.getChild(String name)
           
 Resource<?> Resource.getChild(String name)
          Get a child of this resource.
 Resource<?> AbstractFileResource.getChild(String name)
           
 Resource<?> Resource.getParent()
          Get the parent of the current resource.
 Resource<?> AbstractResource.getParent()
           
 Resource<?> AbstractFileResource.getParent()
          Get the parent of the current resource.
 

Methods in org.jboss.forge.resource that return types with arguments of type Resource
protected abstract  List<Resource<?>> AbstractResource.doListResources()
          Strategy method for returning child resources.
 List<Resource<?>> Resource.listResources()
          Return a list of child resources of the current resource.
 List<Resource<?>> AbstractResource.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.resource with parameters of type Resource
 boolean ResourceFilter.accept(Resource<?> resource)
           
 

Constructors in org.jboss.forge.resource with parameters of type Resource
AbstractResource(ResourceFactory factory, Resource<?> parent)
           
VirtualResource(ResourceFactory factory, Resource<?> parent)
           
 

Uses of Resource in org.jboss.forge.resource.events
 

Methods in org.jboss.forge.resource.events that return Resource
 Resource<?> ResourceEvent.getResource()
           
 

Constructors in org.jboss.forge.resource.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.resource.transaction
 

Methods in org.jboss.forge.resource.transaction that return types with arguments of type Resource
 Set<Resource<?>> ChangeSet.getModifiedResources()
           
 


Forge - Resource Addon API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.