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)
Created 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)
Updated an existing resource
|
void didGetPath(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
path - pathresource - resourcevoid didGetResource(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
path - pathresource - resourcevoid didListDirectoryResources(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - pathcontents - set of contentsvoid didListDirectory(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - pathcontents - set of contentsvoid didListDirectorySubdirs(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
path - directory pathcontents - set of contentsvoid didDeleteResource(org.rundeck.storage.api.Path path,
boolean success)
path - pathsuccess - true if successfulvoid didCreateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
path - pathcontent - new contentcontents - new resource