org.sdnplatform.sync.client
Class SyncClient.EntriesCommand

java.lang.Object
  extended by org.sdnplatform.sync.client.ShellCommand
      extended by org.sdnplatform.sync.client.SyncClient.EntriesCommand
Enclosing class:
SyncClient

protected class SyncClient.EntriesCommand
extends ShellCommand


Field Summary
 
Fields inherited from class org.sdnplatform.sync.client.ShellCommand
mapper, mjf
 
Constructor Summary
protected SyncClient.EntriesCommand()
           
 
Method Summary
protected  void display(com.fasterxml.jackson.databind.JsonNode keyNode, Versioned<com.fasterxml.jackson.databind.JsonNode> value)
           
 boolean execute(java.lang.String[] tokens, java.lang.String line)
          Execute the command on the given tokens
 java.lang.String syntaxString()
          Return syntax description
 
Methods inherited from class org.sdnplatform.sync.client.ShellCommand
serializeJson, validateJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncClient.EntriesCommand

protected SyncClient.EntriesCommand()
Method Detail

execute

public boolean execute(java.lang.String[] tokens,
                       java.lang.String line)
                throws java.lang.Exception
Description copied from class: ShellCommand
Execute the command on the given tokens

Specified by:
execute in class ShellCommand
Parameters:
tokens - the argument tokens. The first token will be the command
line - the whole command line
Returns:
whether to exit the shell after the command
Throws:
java.lang.Exception

display

protected void display(com.fasterxml.jackson.databind.JsonNode keyNode,
                       Versioned<com.fasterxml.jackson.databind.JsonNode> value)
                throws java.lang.Exception
Throws:
java.lang.Exception

syntaxString

public java.lang.String syntaxString()
Description copied from class: ShellCommand
Return syntax description

Specified by:
syntaxString in class ShellCommand
Returns:
the syntax string