Plugin documentation: Linkify multiple and root SSH commands

Change-Id: Id0076e9a5b97981abe7240dc94a2802264deaa17
This commit is contained in:
David Ostrovsky
2014-03-15 13:52:46 +01:00
parent 074c9c4f3d
commit 79c4d89dfd

View File

@@ -494,6 +494,9 @@ by PrintHello class will be available to users as:
$ ssh -p 29418 review.example.com helloworld print
----
[[multiple-commands]]
=== Multiple Commands bound to one implementation
Multiple SSH commands can be bound to the same implementation class. For
example a Gerrit Shell plugin can bind different shell commands to the same
implementation class:
@@ -532,6 +535,9 @@ $ ssh -p 29418 review.example.com shell ls
$ ssh -p 29418 review.example.com shell ps
----
[[root-level-commands]]
=== Root Level Commands
Single command plugins are also supported. In this scenario plugin binds
SSH command to its own name. `SshModule` must inherit from
`SingleCommandPluginModule` class: