public interface TypedStorageTree extends StorageTree
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, createResource, deleteResource, deleteResource, getPath, getPath, getResource, getResource, hasDirectory, hasDirectory, hasPath, hasPath, hasResource, hasResource, listDirectory, listDirectory, listDirectoryResources, listDirectoryResources, listDirectorySubdirs, listDirectorySubdirs, updateResource, updateResource
org.rundeck.storage.api.Resource<ResourceMeta> getResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType)
path
- pathcontentType
- content type stringWrongContentType
- if the content type requested does not matchorg.rundeck.storage.api.StorageException
- if underlying tree throws an exception, e.g. not foundboolean hasResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType)
path
- pathcontentType
- content type stringWrongContentType
- if the content type requested does not matchorg.rundeck.storage.api.StorageException
- if underlying tree throws an exception, e.g. not foundbyte[] readResourceWithType(org.rundeck.storage.api.Path path, java.lang.String contentType) throws java.io.IOException
path
- pathcontentType
- content type stringWrongContentType
- if the content type requested does not matchorg.rundeck.storage.api.StorageException
- if underlying tree throws an exception, e.g. not foundjava.io.IOException