Mercurial > hg > release > thermostat-0.15
changeset 1167:94e5078418e5
Update for XML file example in javadoc
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-July/007469.html
author | Giovanni Astarita <gastarit@redhat.com> |
---|---|
date | Mon, 15 Jul 2013 14:14:34 +0200 |
parents | ee5858fb6618 |
children | b6722888e6b3 |
files | launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java |
diffstat | 1 files changed, 72 insertions(+), 59 deletions(-) [+] |
line wrap: on
line diff
--- a/launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java Thu Jul 11 18:16:31 2013 +0200 +++ b/launcher/src/main/java/com/redhat/thermostat/launcher/internal/PluginConfigurationParser.java Mon Jul 15 14:14:34 2013 +0200 @@ -87,25 +87,28 @@ <command> <name>platform</name> <description>launches a bare bone Platform Client</description> + <arguments> + <argument>argument1</argument> + </arguments> <options> - <group> - <required>true</required> - <option> - <long>optA</long> - <short>a</short> - <required>true</required> - </option> - <option> - <long>optB</long> - <short>b</short> - <required>true</required> + <group> + <required>true</required> + <option> + <long>optA</long> + <short>a</short> + <required>true</required> </option> - <option> - <long>optC</long> - <short>b</short> - <required>false</required> - </option> - <option common="true"> + <option> + <long>optB</long> + <short>b</short> + <required>true</required> + </option> + <option> + <long>optC</long> + <short>b</short> + <required>false</required> + </option> + <option common="true"> <long>dbUrl</long> </option> <option common="true"> @@ -117,55 +120,65 @@ <option common="true"> <long>logLevel</long> </option> - </group> - <option> - <long>heapId</long> - <short>h</short> - <argument>heapArgument</argument> - <required>true</required> - <description>the ID of the heapdump to analyze</description> - </option> - <option> - <long>limit</long> - <short>L</short> - <argument>limitArgument</argument> - <required>false</required> - <description>limit search to top N results, defaults to 10</description> - </option> + </group> + <option> + <long>heapId</long> + <short>h</short> + <argument>heapArgument</argument> + <required>true</required> + <description>the ID of the heapdump to analyze</description> + </option> + <option> + <long>limit</long> + <short>L</short> + <argument>limitArgument</argument> + <required>false</required> + <description>limit search to top N results, defaults to 10</description> + </option> </options> + <environments> + <environment>cli</environment> + <environment>shell</environment> + </environments> <bundles> - <bundle>thermostat-platform-common-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-swing-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-common-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-swing-0.6.0-SNAPSHOT.jar</bundle> </bundles> <dependencies> - <dependency>thermostat-client-core-0.6.0-SNAPSHOT.jar</dependency> + <dependency>thermostat-client-core-0.6.0-SNAPSHOT.jar</dependency> </dependencies> </command> <command> <name>platform2</name> <description>launches a bare bone Platform Client</description> - <options> - <option> - <long>heapId2</long> - <short>h</short> - <argument>heapId2Argument</argument> - <required>true</required> - <description>the ID of the heapdump to analyze</description> - </option> - <option> - <long>limit2</long> - <short>L</short> - <argument>limit2Argument</argument> - <required>false</required> - <description>limit search to top N results, defaults to 10</description> - </option> + <arguments> + <argument>argument2</argument> + </arguments> + <options> + <option> + <long>heapId2</long> + <short>h</short> + <argument>heapId2Argument</argument> + <required>true</required> + <description>the ID of the heapdump to analyze</description> + </option> + <option> + <long>limit2</long> + <short>L</short> + <argument>limit2Argument</argument> + <required>false</required> + <description>limit search to top N results, defaults to 10</description> + </option> </options> + <environments> + <environment>shell</environment> + </environments> <bundles> - <bundle>thermostat-platform-common-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-controllers-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-common-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-controllers-0.6.0-SNAPSHOT.jar</bundle> </bundles> <dependencies> - <dependency>thermostat-common-core-0.6.0-SNAPSHOT.jar</dependency> + <dependency>thermostat-common-core-0.6.0-SNAPSHOT.jar</dependency> </dependencies> </command> </commands> @@ -174,14 +187,14 @@ <name>platform3</name> <bundles> <bundle>thermostat-platform-common-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-controllers-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-command-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-common-export-0.6.0-SNAPSHOT.jar</bundle> - <bundle>thermostat-platform-swing-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-controllers-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-command-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-common-export-0.6.0-SNAPSHOT.jar</bundle> + <bundle>thermostat-platform-swing-0.6.0-SNAPSHOT.jar</bundle> </bundles> <dependencies> - <dependency>thermostat-common-core-0.6.0-SNAPSHOT.jar</dependency> - <dependency>thermostat-client-core-0.6.0-SNAPSHOT.jar</dependency> + <dependency>thermostat-common-core-0.6.0-SNAPSHOT.jar</dependency> + <dependency>thermostat-client-core-0.6.0-SNAPSHOT.jar</dependency> </dependencies> </extension> </extensions>