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.
|
init
annotations, annotations, annotations, appId, codec, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, print
checkInterrupted, execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void execute()
AbstractShellCommand
execute
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