Package org.onosproject.cli.net
Class IntentCycleCommand
- java.lang.Object
-
- org.onosproject.cli.AbstractShellCommand
-
- org.onosproject.cli.net.IntentCycleCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
,CodecContext
,EventFilter<IntentEvent>
,EventListener<IntentEvent>
,IntentListener
public class IntentCycleCommand extends AbstractShellCommand implements IntentListener
Installs point-to-point connectivity intents.
-
-
Field Summary
-
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log
-
-
Constructor Summary
Constructors Constructor Description IntentCycleCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
Body of the shell command.void
event(IntentEvent event)
Reacts to the specified event.-
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
-
Methods inherited from interface org.onosproject.event.EventFilter
isRelevant
-
-
-
-
Method Detail
-
doExecute
protected void doExecute()
Description copied from class:AbstractShellCommand
Body of the shell command.- Specified by:
doExecute
in classAbstractShellCommand
-
event
public void event(IntentEvent event)
Description copied from interface:EventListener
Reacts to the specified event.- Specified by:
event
in interfaceEventListener<IntentEvent>
- Parameters:
event
- event to be processed
-
-