public class DependencyResource extends FileResource<DependencyResource>
file, lastModification, scratch, scratchFileflags, parent, resourceFactory| Constructor and Description |
|---|
DependencyResource(ResourceFactory resourceFactory,
File file,
Dependency dep) |
| Modifier and Type | Method and Description |
|---|---|
Resource<File> |
createFrom(File file)
Create a new
Resource instance for the target file. |
protected List<Resource<?>> |
doListResources()
Strategy method for returning child resources.
|
Dependency |
getDependency() |
String |
toString() |
createNewFile, createTempResource, delete, delete, deleteOnExit, exists, getChild, getFullyQualifiedName, getName, getParent, getResourceInputStream, getUnderlyingResourceObject, isDirectory, isStale, markUpToDate, mkdir, mkdirs, reify, renameTo, renameTo, setContents, setContents, setContentsequals, getFlags, getResourceFactory, hashCode, isFlagSet, listResources, listResources, setFlag, unsetFlagpublic DependencyResource(ResourceFactory resourceFactory, File file, Dependency dep)
protected List<Resource<?>> doListResources()
AbstractResourcedoListResources in class AbstractResource<File>public Resource<File> createFrom(File file)
FileResourceResource instance for the target file. The new Resource should be of the same type as
this.createFrom in interface Resource<File>createFrom in class FileResource<DependencyResource>file - The file to create the resource instance from.public Dependency getDependency()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.