public class TypedStorageTreeImpl extends StorageTreeImpl implements TypedStorageTree
Constructor and Description |
---|
TypedStorageTreeImpl(org.rundeck.storage.api.Tree<ResourceMeta> delegate) |
Modifier and Type | Method and Description |
---|---|
org.rundeck.storage.api.Resource<ResourceMeta> |
getResourceWithType(org.rundeck.storage.api.Path path,
java.lang.String contentType) |
boolean |
hasResourceWithType(org.rundeck.storage.api.Path path,
java.lang.String contentType) |
byte[] |
readResourceWithType(org.rundeck.storage.api.Path path,
java.lang.String contentType) |
createResource, deleteResource, getPath, getResource, hasDirectory, hasPath, hasResource, listDirectory, listDirectoryResources, listDirectorySubdirs, updateResource
createResource, deleteResource, getPath, getResource, hasDirectory, hasPath, hasResource, listDirectory, listDirectoryResources, listDirectorySubdirs, updateResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createResource, createResource, deleteResource, deleteResource, getPath, getPath, getResource, getResource, hasDirectory, hasDirectory, hasPath, hasPath, hasResource, hasResource, listDirectory, listDirectory, listDirectoryResources, listDirectoryResources, listDirectorySubdirs, listDirectorySubdirs, updateResource, updateResource
public TypedStorageTreeImpl(org.rundeck.storage.api.Tree<ResourceMeta> delegate)
public org.rundeck.storage.api.Resource<ResourceMeta> getResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType)
getResourceWithType
in interface TypedStorageTree
path
- pathcontentType
- content type stringpublic boolean hasResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType)
hasResourceWithType
in interface TypedStorageTree
path
- pathcontentType
- content type stringpublic byte[] readResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType) throws java.io.IOException
readResourceWithType
in interface TypedStorageTree
path
- pathcontentType
- content type stringjava.io.IOException