| Constructor and Description |
|---|
BaseListener() |
| 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
|
public void didGetPath(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
ListenerdidGetPath in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathresource - resourcepublic void didGetResource(org.rundeck.storage.api.Path path,
org.rundeck.storage.api.Resource<T> resource)
ListenerdidGetResource in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathresource - resourcepublic void didListDirectoryResources(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
ListenerdidListDirectoryResources in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathcontents - set of contentspublic void didListDirectory(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
ListenerdidListDirectory in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathcontents - set of contentspublic void didListDirectorySubdirs(org.rundeck.storage.api.Path path,
java.util.Set<org.rundeck.storage.api.Resource<T>> contents)
ListenerdidListDirectorySubdirs in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - directory pathcontents - set of contentspublic void didDeleteResource(org.rundeck.storage.api.Path path,
boolean success)
ListenerdidDeleteResource in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathsuccess - true if successfulpublic void didCreateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
ListenerdidCreateResource in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathcontent - new contentcontents - new resourcepublic void didUpdateResource(org.rundeck.storage.api.Path path,
T content,
org.rundeck.storage.api.Resource<T> contents)
ListenerdidUpdateResource in interface Listener<T extends org.rundeck.storage.api.ContentMeta>path - pathcontent - new contentcontents - new resource