public class PathListCommand extends TopologyCommand
service, topology| Constructor and Description |
|---|
PathListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute()
Executes this command.
|
static com.fasterxml.jackson.databind.JsonNode |
json(AbstractShellCommand context,
Iterable<? extends Path> paths)
Produces a JSON array containing the specified paths.
|
protected String |
pathString(Path path)
Produces a formatted string representing the specified path.
|
initannotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, printcheckInterrupted, executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void execute()
AbstractShellCommandexecute in class TopologyCommandpublic static com.fasterxml.jackson.databind.JsonNode json(AbstractShellCommand context, Iterable<? extends Path> paths)
context - context to use for looking up codecspaths - collection of paths