Skip to content

Commit

Permalink
[#452] Doc: Add UML class diagrams to picocli Javadoc.
Browse files Browse the repository at this point in the history
Closes #452
  • Loading branch information
remkop committed Aug 24, 2018
1 parent 701e01a commit cba03e0
Show file tree
Hide file tree
Showing 9 changed files with 1,875 additions and 5 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ No features have been promoted in this picocli release.
- [#433] API: Added method `printHelpIfRequested` that accepts a `ColorScheme` parameter. Thanks to [Benny Bottema](https://github.com/bbottema) for the suggestion.
- [#416] API: Added support for @Command annotation on methods (in addition to classes). Thanks to [illes](https://github.com/illes) for the pull request.
- [#444] Bugfix: Usage help shows duplicate aliases if registered with same alias multiple times.
- [#452] Doc: Add UML class diagrams to picocli Javadoc.

## <a name="3.6.0-deprecated"></a> Deprecations
No features were deprecated in this release.
Expand Down
278 changes: 278 additions & 0 deletions docs/class-diagram-exceptions.uxf
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.2">
<zoom_level>10</zoom_level>
<element>
<id>UMLClass</id>
<coordinates>
<x>60</x>
<y>50</y>
<w>770</w>
<h>400</h>
</coordinates>
<panel_attributes>&lt;&lt;api&gt;&gt;
CommandLine</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>190</x>
<y>190</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>Initialization
Exception
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>90</x>
<y>270</y>
<w>130</w>
<h>60</h>
</coordinates>
<panel_attributes>DuplicateOption
Annotations
Exception
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>230</x>
<y>270</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>ParameterIndex
GapException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>350</x>
<y>190</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>Parameter
Exception
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>510</x>
<y>190</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>TypeConversion
Exception
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>660</x>
<y>190</y>
<w>130</w>
<h>50</h>
</coordinates>
<panel_attributes>Execution
Exception
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>340</x>
<y>130</y>
<w>410</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0;390.0;40.0;390.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>340</x>
<y>130</y>
<w>260</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0;240.0;40.0;240.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>340</x>
<y>130</y>
<w>110</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0;90.0;40.0;90.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>260</x>
<y>130</y>
<w>110</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>90.0;10.0;90.0;40.0;10.0;40.0;10.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>200</x>
<y>230</y>
<w>30</w>
<h>60</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>260</x>
<y>230</y>
<w>30</w>
<h>60</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>450</x>
<y>270</y>
<w>210</w>
<h>30</h>
</coordinates>
<panel_attributes>MissingParameterException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>450</x>
<y>310</y>
<w>210</w>
<h>30</h>
</coordinates>
<panel_attributes>UnmatchedArgumentException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>450</x>
<y>350</y>
<w>210</w>
<h>30</h>
</coordinates>
<panel_attributes>OverwrittenOptionException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>450</x>
<y>390</y>
<w>210</w>
<h>30</h>
</coordinates>
<panel_attributes>MaxValuesExceededException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>230</y>
<w>70</w>
<h>200</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;180.0;50.0;180.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>230</y>
<w>70</w>
<h>150</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;130.0;50.0;130.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>230</y>
<w>70</w>
<h>110</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;90.0;50.0;90.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>230</y>
<w>70</w>
<h>70</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;-</panel_attributes>
<additional_attributes>10.0;10.0;10.0;50.0;50.0;50.0</additional_attributes>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>290</x>
<y>110</y>
<w>130</w>
<h>30</h>
</coordinates>
<panel_attributes>PicocliException
bg=#99FF99</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>680</x>
<y>60</y>
<w>140</w>
<h>50</h>
</coordinates>
<panel_attributes>picocli 3.5.2
2018-08-24
bg=#FFFF66</panel_attributes>
<additional_attributes/>
</element>
</diagram>
Loading

0 comments on commit cba03e0

Please sign in to comment.