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

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

public class DelegateResource<T extends ContentMeta>
extends java.lang.Object
implements Resource<T>

Delegate pattern for resource


Constructor Summary
DelegateResource(Resource<T> delegate)
           
 
Method Summary
 T getContents()
           
 Path getPath()
           
 boolean isDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateResource

public DelegateResource(Resource<T> delegate)
Method Detail

getPath

public Path getPath()
Specified by:
getPath in interface PathItem
Returns:
the path

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>