Package org.onosproject.cli.net
Class IntentDetailsCommand
- java.lang.Object
-
- org.onosproject.cli.AbstractShellCommand
-
- org.onosproject.cli.net.IntentDetailsCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action,CodecContext
public class IntentDetailsCommand extends AbstractShellCommand
Displays details about an Intent in the system.
-
-
Field Summary
-
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log
-
-
Constructor Summary
Constructors Constructor Description IntentDetailsCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetailIntents(java.util.List<java.lang.String> intentsIds)Print detailed data for intents, given a list of IDs.protected voiddoExecute()Body of the shell command.protected java.lang.Strings(java.lang.Object o)static java.lang.Stringsimplify(java.lang.String input)Simplify toString result for CLI.-
Methods inherited from class org.onosproject.cli.AbstractShellCommand
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, print
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onosproject.codec.CodecContext
decode, encode
-
-
-
-
Method Detail
-
doExecute
protected void doExecute()
Description copied from class:AbstractShellCommandBody of the shell command.- Specified by:
doExecutein classAbstractShellCommand
-
detailIntents
public void detailIntents(java.util.List<java.lang.String> intentsIds)
Print detailed data for intents, given a list of IDs.- Parameters:
intentsIds- List of intent IDs
-
s
protected java.lang.String s(java.lang.Object o)
-
simplify
public static java.lang.String simplify(java.lang.String input)
Simplify toString result for CLI.- Parameters:
input- String- Returns:
- simplified String
-
-