public interface WatchedDirResource
Modifier and Type | Method and Description |
---|---|
ApiWatchedDir |
addWatchedDirectory(ApiWatchedDir dir)
Adds a directory to the watching list.
|
ApiWatchedDirList |
listWatchedDirectories()
Lists all the watched directories.
|
ApiWatchedDir |
removeWatchedDirectory(String directoryPath)
Removes a directory from the watching list.
|
@Path(value="/") ApiWatchedDirList listWatchedDirectories()
Available since API v14. Only available with Cloudera Manager Enterprise Edition.
@Path(value="/") ApiWatchedDir addWatchedDirectory(ApiWatchedDir dir)
Available since API v14. Only available with Cloudera Manager Enterprise Edition.
dir
- The directory to be added.@Path(value="/{directoryPath}") ApiWatchedDir removeWatchedDirectory(String directoryPath)
Available since API v14. Only available with Cloudera Manager Enterprise Edition.
directoryPath
- The directory path to be removed.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.