public interface Listener<T extends org.rundeck.storage.api.ContentMeta>
| Modifier and Type | Method and Description |
|---|---|
void |
didCreateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
Create a resource
|
void |
didDeleteResource(org.rundeck.storage.api.Path path,
boolean success)
Delete a resource at a path
|
void |
didGetPath(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
Return the resource or directory at the path
|
void |
didGetResource(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
Return the resource at the path
|
void |
didListDirectory(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
Return the set of resources at the directory path
|
void |
didListDirectoryResources(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
Return the set of non-directory resources at the directory path
|
void |
didListDirectorySubdirs(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
Return the set of sub directory resources within the directory path
|
void |
didUpdateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
Update an existing resource
|
void didGetPath(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
path - pathvoid didGetResource(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
path - pathjava.lang.IllegalArgumentException - if the path is a directory or does not existvoid didListDirectoryResources(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - pathvoid didListDirectory(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - pathvoid didListDirectorySubdirs(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - directory pathvoid didDeleteResource(org.rundeck.storage.api.Path path,
boolean success)
path - pathjava.lang.IllegalArgumentException - if the path is a directory or does not existvoid didCreateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
path - pathjava.lang.IllegalArgumentException - if the path is a directory