org.rundeck.storage.impl
Class ResourceBase<T extends ContentMeta>

java.lang.Object
  extended by org.rundeck.storage.impl.PathItemBase
      extended by org.rundeck.storage.impl.ResourceBase<T>
All Implemented Interfaces:
PathItem, Resource<T>

public class ResourceBase<T extends ContentMeta>
extends PathItemBase
implements Resource<T>

$INTERFACE is ... User: greg Date: 2/14/14 Time: 12:51 PM


Constructor Summary
ResourceBase(Path path, T contents, boolean directory)
           
 
Method Summary
 T getContents()
           
 boolean isDirectory()
           
protected  void setContents(T contents)
           
 
Methods inherited from class org.rundeck.storage.impl.PathItemBase
getPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rundeck.storage.api.PathItem
getPath
 

Constructor Detail

ResourceBase

public ResourceBase(Path path,
                    T contents,
                    boolean directory)
Method Detail

getContents

public T getContents()
Specified by:
getContents in interface Resource<T extends ContentMeta>

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface Resource<T extends ContentMeta>

setContents

protected void setContents(T contents)