Package org.onosproject.cli.net
Class LayoutAddCommand
- java.lang.Object
-
- org.onosproject.cli.AbstractShellCommand
-
- org.onosproject.cli.net.LayoutAddCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
,CodecContext
public class LayoutAddCommand extends AbstractShellCommand
Add a new UI layout.layout-add {layout-id} {bg-ref} \ [ {region-id} {parent-layout-id} {scale} {offset-x} {offset-y} ]
Note that if you want to skip a parameter, but set later parameters, use dot (".") as a placeholder for null. For example, no associated region or parent layout, but setting the scale and offset for the root layout...layout-add root @bayareaGEO . . 1.2 0.0 -4.0
-
-
Field Summary
-
Fields inherited from class org.onosproject.cli.AbstractShellCommand
log
-
-
Constructor Summary
Constructors Constructor Description LayoutAddCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
Body of the shell command.-
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:AbstractShellCommand
Body of the shell command.- Specified by:
doExecute
in classAbstractShellCommand
-
-