public class PathListCommand extends TopologyCommand
service, topology
log
Constructor and Description |
---|
PathListCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute()
Body of the shell 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.
|
init
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void doExecute()
AbstractShellCommand
doExecute
in class TopologyCommand
public static com.fasterxml.jackson.databind.JsonNode json(AbstractShellCommand context, Iterable<? extends Path> paths)
context
- context to use for looking up codecspaths
- collection of paths