SHL-73 - Typo in reference docs: CliOptions is CliOption
SHL-71 - Reference docs do not mention PluginProvider interface
This commit is contained in:
@@ -87,7 +87,7 @@ public class HelloWorldCommands implements CommandMarker {
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><classname>CliOptions</classname> - Placed on the arguments of a
|
||||
<para><classname>CliOption</classname> - Placed on the arguments of a
|
||||
command method, allowing it to declare the argument value as mandatory
|
||||
or optional with a default value.</para>
|
||||
</listitem>
|
||||
|
||||
@@ -184,8 +184,10 @@ public class HelloWorldCommands implements CommandMarker {
|
||||
</itemizedlist>
|
||||
|
||||
<para>There is a default implementation for these interfaces but you
|
||||
should create your own implementations for your own shell application. Use
|
||||
Spring's <literal>@Ordered</literal> annotation to set the priority of the
|
||||
should create your own implementations for your own shell application.
|
||||
All of these interfaces extend from
|
||||
<interfacename>NamedProvider</interfacename>. Use
|
||||
Spring's <literal>@Order</literal> annotation to set the priority of the
|
||||
provider. This allows your provider implementations to take precedence
|
||||
over any other implementations that maybe present on the classpath from
|
||||
other plugins.</para>
|
||||
|
||||
Reference in New Issue
Block a user