├── .github └── workflows │ ├── publish.yml │ └── verify.yml ├── .gitignore ├── .mvn └── wrapper │ └── maven-wrapper.properties ├── Changelog.adoc ├── LICENSE ├── README.adoc ├── antora-playbook.yml ├── local-antora-playbook.yml ├── mvnw ├── mvnw.cmd ├── package-lock.json ├── package.json ├── plantuml-generator-maven-plugin ├── .gitignore ├── pom.xml └── src │ ├── docs │ └── asciidoc │ │ ├── antora.yml │ │ └── modules │ │ └── ROOT │ │ ├── examples │ │ ├── itresources │ │ ├── javasrc │ │ ├── resources │ │ ├── testresources │ │ └── testsrc │ │ ├── nav.adoc │ │ ├── pages │ │ ├── _attributes.adoc │ │ ├── class-diagram.adoc │ │ ├── class-diagram │ │ │ ├── _attributes.adoc │ │ │ ├── config │ │ │ │ ├── _attributes.adoc │ │ │ │ ├── add-jpa-annotations.adoc │ │ │ │ ├── add-validation-annotations.adoc │ │ │ │ ├── additional-plantuml-configs.adoc │ │ │ │ ├── asciidoc-diagram-block-delimiter.adoc │ │ │ │ ├── asciidoc-diagram-image-format.adoc │ │ │ │ ├── asciidoc-diagram-name.adoc │ │ │ │ ├── blacklist-regexp.adoc │ │ │ │ ├── enable-asciidoc-wrapper.adoc │ │ │ │ ├── enable-markdown-wrapper.adoc │ │ │ │ ├── field-blacklist-regexp.adoc │ │ │ │ ├── field-classifier-to-ignore.adoc │ │ │ │ ├── hide-classes.adoc │ │ │ │ ├── hide-fields.adoc │ │ │ │ ├── hide-methods.adoc │ │ │ │ ├── max-visibility-fields.adoc │ │ │ │ ├── max-visibility-methods.adoc │ │ │ │ ├── method-blacklist-regexp.adoc │ │ │ │ ├── method-classifier-to-ignore.adoc │ │ │ │ ├── output-directory.adoc │ │ │ │ ├── output-filename.adoc │ │ │ │ ├── remove-fields.adoc │ │ │ │ ├── remove-methods.adoc │ │ │ │ ├── scanpackages.adoc │ │ │ │ ├── use-short-classnames-in-fields-and-methods.adoc │ │ │ │ ├── use-short-classnames.adoc │ │ │ │ ├── use-smetana.adoc │ │ │ │ └── whitelist-regexp.adoc │ │ │ └── examples.adoc │ │ ├── index.adoc │ │ ├── sequence-diagram.adoc │ │ └── sequence-diagram │ │ │ ├── _attributes.adoc │ │ │ └── config │ │ │ ├── _attributes.adoc │ │ │ ├── asciidoc-diagram-block-delimiter.adoc │ │ │ ├── asciidoc-diagram-image-format.adoc │ │ │ ├── asciidoc-diagram-name.adoc │ │ │ ├── class-blacklist-regexp.adoc │ │ │ ├── enable-asciidoc-wrapper.adoc │ │ │ ├── enable-markdown-wrapper.adoc │ │ │ ├── hide-method-name.adoc │ │ │ ├── hide-super-class.adoc │ │ │ ├── ignore-jpa-entities.adoc │ │ │ ├── ignore-standard-classes.adoc │ │ │ ├── method-blacklist-regexp.adoc │ │ │ ├── output-directory.adoc │ │ │ ├── output-filename.adoc │ │ │ ├── show-return-types.adoc │ │ │ ├── start-class.adoc │ │ │ ├── start-method.adoc │ │ │ └── use-short-class-names.adoc │ │ └── partials │ │ ├── asciidoc-diagram-block-delimiter.adoc │ │ ├── asciidoc-diagram-image-format.adoc │ │ ├── asciidoc-diagram-name.adoc │ │ ├── enable-asciidoc-wrapper.adoc │ │ ├── enable-markdown-wrapper.adoc │ │ ├── output-directory.adoc │ │ └── output-filename.adoc │ ├── it │ ├── classdiagram │ │ ├── 0001-simple-class-diagram-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ └── verify.groovy │ │ ├── 0002-additional-plantuml-configs-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0003-add-jpa-annotations-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0004-blacklist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0005-field-blacklist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0006-field-classifier-to-ignore-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0007-hide-classes-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0008-hide-fields-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0009-hide-methods-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0010-max-visibility-fields-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0011-max-visibility-methods-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0012-method-blacklist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0013-method-classifier-to-ignore-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0014-remove-fields-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0015-remove-methods-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0016-scanpackages-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0017-whitelist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0018-asciidoc-diagram-block-delimiter-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testdiagram1.txt │ │ │ └── verify.groovy │ │ ├── 0019-enable-asciidoc-wrapper-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testdiagram1.txt │ │ │ └── verify.groovy │ │ ├── 0020-asciidoc-diagram-image-format-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testdiagram1.txt │ │ │ └── verify.groovy │ │ ├── 0021-asciidoc-diagram-name-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testdiagram1.txt │ │ │ └── verify.groovy │ │ ├── 0022-enable-markdown-wrapper-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testdiagram1.txt │ │ │ └── verify.groovy │ │ ├── 0023-use-short-classnames-it │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0024-use-short-classnames-in-fields-and-methods-it │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0025-use-smetana-it │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0026-add-javax-validation-annotations-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0027-add-jpa-jakarta-annotations-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ └── 0028-add-jakarta-validation-annotations-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ ├── sequencediagram │ │ ├── 0001-simple-sequence-diagram-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ └── verify.groovy │ │ ├── 0002-class-blacklist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0003-hide-method-name-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0004-hide-super-class-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0005-ignore-jpa-entities-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0006-ignore-standard-classes-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0007-method-blacklist-regexp-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0008-show-return-types-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0009-use-short-class-names-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ └── verify.groovy │ │ ├── 0010-enable-asciidoc-wrapper-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testsequencediagram1.txt │ │ │ └── verify.groovy │ │ ├── 0011-asciidoc-diagram-block-delimiter-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testsequencediagram1.txt │ │ │ └── verify.groovy │ │ ├── 0012-asciidoc-diagram-image-format-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testsequencediagram1.txt │ │ │ └── verify.groovy │ │ ├── 0013-asciidoc-diagram-name-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── de │ │ │ │ │ └── elnarion │ │ │ │ │ └── maven │ │ │ │ │ └── plugin │ │ │ │ │ └── plantuml │ │ │ │ │ └── generator │ │ │ │ │ └── test │ │ │ │ │ └── domain │ │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ │ ├── BaseInterface.java │ │ │ │ │ ├── ChildA.java │ │ │ │ │ ├── ChildB.java │ │ │ │ │ └── Util.java │ │ │ ├── testsequencediagram1.txt │ │ │ └── verify.groovy │ │ └── 0014-enable-markdown-wrapper-it │ │ │ ├── .gitignore │ │ │ ├── invoker.properties │ │ │ ├── pom.xml │ │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── de │ │ │ │ └── elnarion │ │ │ │ └── maven │ │ │ │ └── plugin │ │ │ │ └── plantuml │ │ │ │ └── generator │ │ │ │ └── test │ │ │ │ └── domain │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ ├── BaseInterface.java │ │ │ │ ├── ChildA.java │ │ │ │ ├── ChildB.java │ │ │ │ └── Util.java │ │ │ ├── testsequencediagram1.txt │ │ │ └── verify.groovy │ └── settings.xml │ ├── main │ ├── java │ │ └── de │ │ │ └── elnarion │ │ │ └── maven │ │ │ └── plugin │ │ │ └── plantuml │ │ │ └── generator │ │ │ ├── AbstractPlantUMLGeneratorMojo.java │ │ │ ├── PlantUMLGeneratorMojo.java │ │ │ └── PlantUMLSequenceDiagramGeneratorMojo.java │ └── resources │ │ └── Dummy │ └── test │ ├── java │ └── de │ │ └── elnarion │ │ └── maven │ │ └── plugin │ │ └── plantuml │ │ └── generator │ │ ├── PlantUMLGeneratorMojoTest.java │ │ └── PlantUMLSequenceDiagramGeneratorMojoTest.java │ └── resources │ └── unit │ └── plantuml-generator │ ├── diagram1-test │ └── pom.xml │ └── sequence-diagram1-test │ └── pom.xml ├── plantuml-generator-util ├── .gitignore ├── pom.xml └── src │ ├── docs │ └── asciidoc │ │ ├── antora.yml │ │ └── modules │ │ └── ROOT │ │ ├── examples │ │ ├── javasrc │ │ ├── resources │ │ ├── testresources │ │ └── testsrc │ │ ├── nav.adoc │ │ ├── pages │ │ ├── _attributes.adoc │ │ ├── class-diagram.adoc │ │ ├── class-diagram │ │ │ ├── _attributes.adoc │ │ │ ├── config.adoc │ │ │ └── config │ │ │ │ ├── _attributes.adoc │ │ │ │ ├── add-jpa-annotations.adoc │ │ │ │ ├── add-validation-annotations.adoc │ │ │ │ ├── additional-plantuml-configs.adoc │ │ │ │ ├── blacklist-regexp.adoc │ │ │ │ ├── destination-classloader.adoc │ │ │ │ ├── field-blacklist-regexp.adoc │ │ │ │ ├── field-classifier-to-ignore.adoc │ │ │ │ ├── hide-classes.adoc │ │ │ │ ├── hide-fields.adoc │ │ │ │ ├── hide-methods.adoc │ │ │ │ ├── max-visibility-fields.adoc │ │ │ │ ├── max-visibility-methods.adoc │ │ │ │ ├── method-blacklist-regexp.adoc │ │ │ │ ├── method-classifier-to-ignore.adoc │ │ │ │ ├── remove-fields.adoc │ │ │ │ ├── remove-methods.adoc │ │ │ │ ├── scanpackages.adoc │ │ │ │ ├── use-short-classnames-in-fields-and-methods.adoc │ │ │ │ ├── use-short-classnames.adoc │ │ │ │ ├── use-smetana.adoc │ │ │ │ └── whitelist-regexp.adoc │ │ ├── index.adoc │ │ ├── sequence-diagram.adoc │ │ └── sequence-diagram │ │ │ ├── _attributes.adoc │ │ │ ├── config.adoc │ │ │ └── config │ │ │ ├── _attributes.adoc │ │ │ ├── class-blacklist-regexp.adoc │ │ │ ├── destination-classloader.adoc │ │ │ ├── hide-method-name.adoc │ │ │ ├── hide-super-class.adoc │ │ │ ├── ignore-jpa-entities.adoc │ │ │ ├── ignore-standard-classes.adoc │ │ │ ├── method-blacklist-regexp.adoc │ │ │ ├── show-return-types.adoc │ │ │ ├── start-class.adoc │ │ │ ├── start-method.adoc │ │ │ └── use-short-class-names.adoc │ │ └── partials │ │ ├── _attributes.adoc │ │ ├── _class_diagram_example.adoc │ │ ├── _class_diagram_example_aggregation.adoc │ │ ├── _sequence_diagram_example.adoc │ │ ├── class-diagram │ │ ├── _attributes.adoc │ │ ├── add-jpa-annotations.adoc │ │ ├── add-validation-annotations.adoc │ │ ├── additional-plantuml-configs.adoc │ │ ├── blacklist-regexp.adoc │ │ ├── destination-classloader.adoc │ │ ├── field-blacklist-regexp.adoc │ │ ├── field-classifier-to-ignore.adoc │ │ ├── hide-classes.adoc │ │ ├── hide-fields.adoc │ │ ├── hide-methods.adoc │ │ ├── max-visibility-fields.adoc │ │ ├── max-visibility-methods.adoc │ │ ├── method-blacklist-regexp.adoc │ │ ├── method-classifier-to-ignore.adoc │ │ ├── remove-fields.adoc │ │ ├── remove-methods.adoc │ │ ├── scanpackages.adoc │ │ ├── use-short-classnames-in-fields-and-methods.adoc │ │ ├── use-short-classnames.adoc │ │ ├── use-smetana.adoc │ │ └── whitelist-regexp.adoc │ │ └── sequence-diagram │ │ ├── _attributes.adoc │ │ ├── class-blacklist-regexp.adoc │ │ ├── destination-classloader.adoc │ │ ├── hide-method-name.adoc │ │ ├── hide-super-class.adoc │ │ ├── ignore-jpa-entities.adoc │ │ ├── ignore-standard-classes.adoc │ │ ├── method-blacklist-regexp.adoc │ │ ├── show-return-types.adoc │ │ ├── start-class.adoc │ │ ├── start-method.adoc │ │ └── use-short-class-names.adoc │ ├── main │ ├── java │ │ └── de │ │ │ └── elnarion │ │ │ └── util │ │ │ └── plantuml │ │ │ └── generator │ │ │ ├── classdiagram │ │ │ ├── PlantUMLClassDiagramGenerator.java │ │ │ ├── config │ │ │ │ ├── ClassifierType.java │ │ │ │ ├── PlantUMLClassDiagramConfig.java │ │ │ │ ├── PlantUMLClassDiagramConfigBuilder.java │ │ │ │ └── VisibilityType.java │ │ │ └── internal │ │ │ │ ├── AnalyzerUtil.java │ │ │ │ ├── ClassAnalyzer.java │ │ │ │ ├── ClassAnalyzerSummary.java │ │ │ │ ├── ClassResolver.java │ │ │ │ ├── ClassType.java │ │ │ │ ├── FieldAnalyzer.java │ │ │ │ ├── FieldAnalyzerUtil.java │ │ │ │ ├── JPAAnalyzerHelper.java │ │ │ │ ├── MethodAnalyzerUtil.java │ │ │ │ ├── PlantUMLClassDiagramTextBuilder.java │ │ │ │ ├── PlantUMLDiagramElement.java │ │ │ │ ├── RelationshipType.java │ │ │ │ ├── UMLClass.java │ │ │ │ ├── UMLField.java │ │ │ │ ├── UMLMethod.java │ │ │ │ ├── UMLMethodComparator.java │ │ │ │ ├── UMLRelationship.java │ │ │ │ ├── UMLStereotype.java │ │ │ │ ├── ValidationAnnotationsAnalyzerHelper.java │ │ │ │ └── VisibilityUtil.java │ │ │ └── sequencediagram │ │ │ ├── PlantUMLSequenceDiagramGenerator.java │ │ │ ├── config │ │ │ ├── PlantUMLSequenceDiagramConfig.java │ │ │ └── PlantUMLSequenceDiagramConfigBuilder.java │ │ │ ├── exception │ │ │ └── NotFoundException.java │ │ │ └── internal │ │ │ ├── CallerClass.java │ │ │ ├── CallerMethod.java │ │ │ ├── ICallerClass.java │ │ │ ├── ICallerMethod.java │ │ │ ├── RecursivelyCalledMethod.java │ │ │ ├── SequenceAnalyzer.java │ │ │ └── TreeNode.java │ └── resources │ │ └── Dummy │ └── test │ ├── classes │ └── de │ │ └── elnarion │ │ ├── maven │ │ └── plugin │ │ │ └── plantuml │ │ │ └── generator │ │ │ └── test │ │ │ └── domain │ │ │ ├── BaseAbstractClass.class │ │ │ ├── BaseInterface.class │ │ │ ├── ChildA.class │ │ │ ├── ChildB.class │ │ │ └── Util.class │ │ └── test │ │ └── sequence │ │ └── t0004 │ │ ├── Controller.class │ │ ├── Model.class │ │ ├── User.class │ │ └── View.class │ ├── java │ └── de │ │ └── elnarion │ │ ├── test │ │ ├── domain │ │ │ ├── t0001 │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ ├── BaseInterface.java │ │ │ │ ├── ChildA.java │ │ │ │ ├── ChildB.java │ │ │ │ └── Util.java │ │ │ ├── t0002 │ │ │ │ ├── AbstractClass.java │ │ │ │ ├── NormalAnnotation.java │ │ │ │ ├── NormalClass.java │ │ │ │ ├── NormalEnum.java │ │ │ │ └── NormalInterface.java │ │ │ ├── t0003 │ │ │ │ ├── BaseClass.java │ │ │ │ ├── BaseInterface.java │ │ │ │ ├── ClassA.java │ │ │ │ └── ClassB.java │ │ │ ├── t0004 │ │ │ │ ├── TestFieldClass.java │ │ │ │ └── TestReference.java │ │ │ ├── t0005 │ │ │ │ └── MethodTestClass.java │ │ │ ├── t0006 │ │ │ │ ├── pck1 │ │ │ │ │ ├── ClassA.java │ │ │ │ │ └── ClassB.java │ │ │ │ └── pck2 │ │ │ │ │ └── ClassC.java │ │ │ ├── t0007 │ │ │ │ ├── ClassA.java │ │ │ │ ├── ClassB.java │ │ │ │ ├── ClassC.java │ │ │ │ └── ClassD.java │ │ │ ├── t0010 │ │ │ │ ├── AbstractTestClass.java │ │ │ │ ├── BaseInterface.java │ │ │ │ ├── ExtendedInterface.java │ │ │ │ ├── GenericType.java │ │ │ │ ├── MyClass.java │ │ │ │ └── TestClass.java │ │ │ ├── t0013 │ │ │ │ └── Testclass.java │ │ │ ├── t0014 │ │ │ │ └── Testclass.java │ │ │ ├── t0015 │ │ │ │ ├── Testclass1.java │ │ │ │ └── Testclass2.java │ │ │ ├── t0016 │ │ │ │ ├── Testclass1.java │ │ │ │ └── Testclass2.java │ │ │ ├── t0017 │ │ │ │ ├── Testclass1.java │ │ │ │ └── Testclass2.java │ │ │ ├── t0018 │ │ │ │ ├── Testclass1.java │ │ │ │ └── Testclass2.java │ │ │ ├── t0019 │ │ │ │ └── Testclass.java │ │ │ ├── t0020 │ │ │ │ ├── Testclass.java │ │ │ │ └── Testinterface.java │ │ │ ├── t0021 │ │ │ │ ├── Address.java │ │ │ │ ├── Employee.java │ │ │ │ ├── FTEmployee.java │ │ │ │ ├── Family.java │ │ │ │ ├── Job.java │ │ │ │ ├── Person.java │ │ │ │ ├── Todo.java │ │ │ │ └── TodoStateEnum.java │ │ │ ├── t0021jakarta │ │ │ │ ├── Address.java │ │ │ │ ├── Employee.java │ │ │ │ ├── FTEmployee.java │ │ │ │ ├── Family.java │ │ │ │ ├── Job.java │ │ │ │ ├── Person.java │ │ │ │ ├── Todo.java │ │ │ │ └── TodoStateEnum.java │ │ │ ├── t0022 │ │ │ │ └── TestPrivateFinalObject.java │ │ │ ├── t0023 │ │ │ │ ├── BaseAbstractClass.java │ │ │ │ ├── BaseInterface.java │ │ │ │ ├── ChildA.java │ │ │ │ ├── ChildB.java │ │ │ │ └── Util.java │ │ │ ├── t0024 │ │ │ │ ├── AbstractClassB.java │ │ │ │ ├── AnnotationA.java │ │ │ │ ├── ClassA.java │ │ │ │ ├── ClassB.java │ │ │ │ ├── ClassC.java │ │ │ │ ├── ClassD.java │ │ │ │ └── InterfaceA.java │ │ │ ├── t0025 │ │ │ │ ├── AnnotationA.java │ │ │ │ ├── InterfaceC.java │ │ │ │ ├── SuperClassC.java │ │ │ │ ├── TestClassA.java │ │ │ │ ├── TestClassB.java │ │ │ │ └── TestClassC.java │ │ │ ├── t0026 │ │ │ │ ├── TestA.java │ │ │ │ ├── TestB.java │ │ │ │ ├── TestC.java │ │ │ │ ├── TestD.java │ │ │ │ ├── TestE.java │ │ │ │ ├── TestF.java │ │ │ │ ├── TestG.java │ │ │ │ └── TestH.java │ │ │ ├── t0027 │ │ │ │ └── TestClass.java │ │ │ ├── t0028 │ │ │ │ ├── Light.java │ │ │ │ ├── Seat.java │ │ │ │ ├── Vehicle.java │ │ │ │ └── Wheel.java │ │ │ └── t0028jakarta │ │ │ │ ├── Light.java │ │ │ │ ├── Seat.java │ │ │ │ ├── Vehicle.java │ │ │ │ └── Wheel.java │ │ └── sequence │ │ │ ├── t0001 │ │ │ ├── CallerA.java │ │ │ └── CallerB.java │ │ │ ├── t0002 │ │ │ ├── CallerClassA.java │ │ │ ├── CallerClassB.java │ │ │ ├── SuperClassA.java │ │ │ └── SuperClassB.java │ │ │ ├── t0003 │ │ │ ├── Movie.java │ │ │ ├── MovieDAO.java │ │ │ └── MovieService.java │ │ │ ├── t0003jakarta │ │ │ ├── Movie.java │ │ │ ├── MovieDAO.java │ │ │ └── MovieService.java │ │ │ ├── t0004 │ │ │ ├── Controller.java │ │ │ ├── Model.java │ │ │ ├── User.java │ │ │ └── View.java │ │ │ └── t0005 │ │ │ ├── CalledClass.java │ │ │ └── SequenceStarterClass.java │ │ └── util │ │ └── plantuml │ │ └── generator │ │ ├── architecture │ │ └── ArchitectureTest.java │ │ ├── classdiagram │ │ └── PlantUMLClassDiagramGeneratorTest.java │ │ ├── coding │ │ └── CodingTest.java │ │ └── sequencediagram │ │ └── PlantUMLSequenceDiagramGeneratorTest.java │ └── resources │ ├── class │ ├── 0001_general_diagram.txt │ ├── 0002_class_types.txt │ ├── 0003_class_relationships.txt │ ├── 0004_class_fields.txt │ ├── 0005_class_methods.txt │ ├── 0006_different_packages.txt │ ├── 0007_hide_parameters.txt │ ├── 0008_classloader_test.txt │ ├── 0009_jar_test.txt │ ├── 0010_parameterized_aggregation_type.txt │ ├── 0011_jar_test_blacklist.txt │ ├── 0012_jar_whitelist.txt │ ├── 0013_max_visibility_fields_package_private.txt │ ├── 0013_max_visibility_fields_private.txt │ ├── 0013_max_visibility_fields_protected.txt │ ├── 0013_max_visibility_fields_public.txt │ ├── 0014_max_visibility_methods_package_private.txt │ ├── 0014_max_visibility_methods_private.txt │ ├── 0014_max_visibility_methods_protected.txt │ ├── 0014_max_visibility_methods_public.txt │ ├── 0015_remove_methods.txt │ ├── 0016_remove_fields.txt │ ├── 0017_blacklist_methods.txt │ ├── 0017_blacklist_methods_empty_parameter.txt │ ├── 0018_blacklist_fields.txt │ ├── 0019_ignore_classifier_fields.txt │ ├── 0020_ignore_classifier_methods.txt │ ├── 0020_ignore_multiple_classifier_methods.txt │ ├── 0021_jpa_annotations.txt │ ├── 0021_jpa_annotations_jakarta.txt │ ├── 0022_private_final_field.txt │ ├── 0023_additional-plant-uml-configs.txt │ ├── 0024_class_relationships.txt │ ├── 0025_use_short_classnames.txt │ ├── 0025_use_short_classnames_in_fields_and_methods.txt │ ├── 0026_different_aggregate_relationships.txt │ ├── 0027_use_smetana.txt │ ├── 0028_jakarta_validation_annotations.txt │ └── 0028_javax_validation_annotations.txt │ ├── log4j2.properties │ └── sequence │ ├── 0001_basic_caller_test.txt │ ├── 0001_basic_caller_test_with_return_types.txt │ ├── 0001_basic_caller_test_with_return_types_and_long_class_names.txt │ ├── 0001_basic_caller_with_long_class_names.txt │ ├── 0002_basic_super_class_sequence_diagram.txt │ ├── 0002_basic_super_class_sequence_diagram_with_hide_super_class.txt │ ├── 0003_jpa_test_with_ignore_jpa_entities.txt │ ├── 0003_jpa_test_with_ignore_jpa_entities_and_hide_method_names.txt │ ├── 0003_jpa_test_with_standard_classes.txt │ ├── 0003_jpa_test_without_options.txt │ ├── 0004_sequence_diagram_with_blacklisted_classes.txt │ ├── 0004_sequence_diagram_with_blacklisted_method.txt │ ├── 0004_sequence_diagram_with_custom_classloader.txt │ ├── 0005_sequence_diagram_with_circular_method_calls.txt │ └── 0005_sequence_diagram_with_recursive_calls.txt ├── pom.xml ├── renovate.json └── src ├── docs ├── asciidoc │ ├── antora.yml │ └── modules │ │ └── ROOT │ │ ├── _attributes.adoc │ │ ├── attachments │ │ └── _attributes.adoc │ │ ├── images │ │ └── _attributes.adoc │ │ ├── nav.adoc │ │ ├── pages │ │ ├── _attributes.adoc │ │ └── index.adoc │ │ └── partials │ │ └── _attributes.adoc └── supplemental-ui │ ├── css │ ├── prism.css │ └── site-extra.css │ ├── js │ └── prism.js │ └── partials │ ├── footer-content.hbs │ ├── footer-scripts.hbs │ ├── head-meta.hbs │ └── header-content.hbs └── main └── javascript ├── prism-line-highlight-tree-processor.js └── prism-syntax-highlighter.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | 3 | # Log file 4 | *.log 5 | 6 | # BlueJ files 7 | *.ctxt 8 | 9 | # Mobile Tools for Java (J2ME) 10 | .mtj.tmp/ 11 | 12 | # Package Files # 13 | *.jar 14 | *.war 15 | *.nar 16 | *.ear 17 | *.zip 18 | *.tar.gz 19 | *.rar 20 | 21 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 22 | hs_err_pid* 23 | /.settings/ 24 | /target/ 25 | /.project 26 | /.classpath 27 | plantuml-generator-maven-plugin/.factorypath 28 | .vscode/settings.json 29 | /.asciidoctorconfig.adoc 30 | /node_modules/ 31 | /build/ 32 | /.cache/ 33 | /plantuml-generator.iml 34 | /.idea/ 35 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "@antora/cli": "3.1.9", 4 | "@antora/lunr-extension": "1.0.0-alpha.8", 5 | "@antora/site-generator": "3.1.9" 6 | }, 7 | "dependencies": { 8 | "asciidoctor-kroki": "^0.18.0", 9 | "asciidoctor-plantuml": "^1.5.0" 10 | }, 11 | "overrides": { 12 | "vinyl-fs": { 13 | "glob-stream": "~8.0.0" 14 | }, 15 | "asciidoctor-kroki": { 16 | "json5": "~2.2.2" 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | /.asciidoctorconfig.adoc 6 | /plantuml-generator-maven-plugin.iml 7 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/antora.yml: -------------------------------------------------------------------------------- 1 | name: plantuml-generator-maven-plugin 2 | title: Maven Plugins 3 | asciidoc: 4 | attributes: 5 | compontentkeywords: "{sitekeywords}, maven plugin" 6 | nav: 7 | - modules/ROOT/nav.adoc -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/examples/itresources: -------------------------------------------------------------------------------- 1 | ../../../../../it/ -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/examples/javasrc: -------------------------------------------------------------------------------- 1 | ../../../../../main/java -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/examples/resources: -------------------------------------------------------------------------------- 1 | ../../../../../main/resources -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/examples/testresources: -------------------------------------------------------------------------------- 1 | ../../../../../test/resources -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/examples/testsrc: -------------------------------------------------------------------------------- 1 | ../../../../../test/java -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/_attributes.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/_attributes.adoc -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/asciidoc-diagram-block-delimiter.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramBlockDelimiter 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-block-delimiter.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default block delimiter of the asciidoc plantuml 9 | block wrapper is set to "...." with the asciidocDiagramBlockDelimiter 10 | configuration option: 11 | 12 | [source,xml] 13 | ---- 14 | include::example$itresources/classdiagram/0018-asciidoc-diagram-block-delimiter-it/pom.xml[tags=mvn] 15 | ---- 16 | 17 | which produces this PlantUML diagram text: 18 | 19 | [source,plantuml,indent=0] 20 | ---- 21 | include::example$itresources/classdiagram/0018-asciidoc-diagram-block-delimiter-it/testdiagram1.txt[] 22 | ---- 23 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/asciidoc-diagram-image-format.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramImageFormat 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-image-format.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default image format which is used by the plantuml 9 | extension of asciidoc for the rendering is set to "jpg": 10 | 11 | [source,xml] 12 | ---- 13 | include::example$itresources/classdiagram/0020-asciidoc-diagram-image-format-it/pom.xml[tags=mvn] 14 | ---- 15 | 16 | which produces this PlantUML diagram text: 17 | 18 | [source,plantuml,indent=0] 19 | .... 20 | include::example$itresources/classdiagram/0020-asciidoc-diagram-image-format-it/testdiagram1.txt[] 21 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/asciidoc-diagram-name.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramName 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-name.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default image name which is used by the plantuml 9 | extension of asciidoc for the rendering is set to "supertestname": 10 | 11 | [source,xml] 12 | ---- 13 | include::example$itresources/classdiagram/0021-asciidoc-diagram-name-it/pom.xml[tags=mvn] 14 | ---- 15 | 16 | which produces this PlantUML diagram text: 17 | 18 | [source,plantuml,indent=0] 19 | .... 20 | include::example$itresources/classdiagram/0021-asciidoc-diagram-name-it/testdiagram1.txt[] 21 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/enable-asciidoc-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = enableAsciidocWrapper 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$enable-asciidoc-wrapper.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the toggle for the asciidoc wrapper is enabled: 9 | 10 | [source,xml] 11 | ---- 12 | include::example$itresources/classdiagram/0019-enable-asciidoc-wrapper-it/pom.xml[tags=mvn] 13 | ---- 14 | 15 | which produces this PlantUML diagram text: 16 | 17 | [source,plantuml,indent=0] 18 | .... 19 | include::example$itresources/classdiagram/0019-enable-asciidoc-wrapper-it/testdiagram1.txt[] 20 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/enable-markdown-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = enableMarkdownWrapper 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$enable-markdown-wrapper.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the toggle for the markdown wrapper is enabled: 9 | 10 | [source,xml] 11 | ---- 12 | include::example$itresources/classdiagram/0022-enable-markdown-wrapper-it/pom.xml[tags=mvn] 13 | ---- 14 | 15 | which produces this PlantUML diagram text: 16 | 17 | [source,plantuml,indent=0] 18 | .... 19 | include::example$itresources/classdiagram/0022-enable-markdown-wrapper-it/testdiagram1.txt[] 20 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/output-directory.adoc: -------------------------------------------------------------------------------- 1 | = outputDirectory 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$/output-directory.adoc[leveloffset=+1] 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/output-filename.adoc: -------------------------------------------------------------------------------- 1 | = outputFilename 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$/output-filename.adoc[leveloffset=+1] 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/asciidoc-diagram-block-delimiter.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramBlockDelimiter 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-block-delimiter.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default block delimiter of the asciidoc plantuml 9 | block wrapper is set to "...." with the asciidocDiagramBlockDelimiter 10 | configuration option: 11 | 12 | [source,xml] 13 | ---- 14 | include::example$itresources/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/pom.xml[tags=mvn] 15 | ---- 16 | 17 | which produces this PlantUML diagram text: 18 | 19 | [source,plantuml,indent=0] 20 | ---- 21 | include::example$itresources/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/testsequencediagram1.txt[] 22 | ---- 23 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/asciidoc-diagram-image-format.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramImageFormat 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-image-format.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default image format which is used by the plantuml 9 | extension of asciidoc for the rendering is set to "jpg": 10 | 11 | [source,xml] 12 | ---- 13 | include::example$itresources/sequencediagram/0012-asciidoc-diagram-image-format-it/pom.xml[tags=mvn] 14 | ---- 15 | 16 | which produces this PlantUML diagram text: 17 | 18 | [source,plantuml,indent=0] 19 | .... 20 | include::example$itresources/sequencediagram/0012-asciidoc-diagram-image-format-it/testsequencediagram1.txt[] 21 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/asciidoc-diagram-name.adoc: -------------------------------------------------------------------------------- 1 | = asciidocDiagramName 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$asciidoc-diagram-name.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the default image name which is used by the plantuml 9 | extension of asciidoc for the rendering is set to "supertestname": 10 | 11 | [source,xml] 12 | ---- 13 | include::example$itresources/sequencediagram/0013-asciidoc-diagram-name-it/pom.xml[tags=mvn] 14 | ---- 15 | 16 | which produces this PlantUML diagram text: 17 | 18 | [source,plantuml,indent=0] 19 | .... 20 | include::example$itresources/sequencediagram/0013-asciidoc-diagram-name-it/testsequencediagram1.txt[] 21 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/enable-asciidoc-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = enableAsciidocWrapper 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$enable-asciidoc-wrapper.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the toggle for the asciidoc wrapper is enabled: 9 | 10 | [source,xml] 11 | ---- 12 | include::example$itresources/sequencediagram/0010-enable-asciidoc-wrapper-it/pom.xml[tags=mvn] 13 | ---- 14 | 15 | which produces this PlantUML diagram text: 16 | 17 | [source,plantuml,indent=0] 18 | .... 19 | include::example$itresources/sequencediagram/0010-enable-asciidoc-wrapper-it/testsequencediagram1.txt[] 20 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/enable-markdown-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = enableMarkdownWrapper 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$enable-markdown-wrapper.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | In this example the toggle for the markdown wrapper is enabled: 9 | 10 | [source,xml] 11 | ---- 12 | include::example$itresources/sequencediagram/0014-enable-markdown-wrapper-it/pom.xml[tags=mvn] 13 | ---- 14 | 15 | which produces this PlantUML diagram text: 16 | 17 | [source,plantuml,indent=0] 18 | .... 19 | include::example$itresources/sequencediagram/0014-enable-markdown-wrapper-it/testsequencediagram1.txt[] 20 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/output-directory.adoc: -------------------------------------------------------------------------------- 1 | = outputDirectory 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$/output-directory.adoc[leveloffset=+1] 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/output-filename.adoc: -------------------------------------------------------------------------------- 1 | = outputFilename 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$/output-filename.adoc[leveloffset=+1] 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/asciidoc-diagram-block-delimiter.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | 3 | With the help of this configuration option it is possible to change the 4 | block delimiters which are used to wrap the generated plantuml content 5 | if the xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] configuration 6 | option is enabled. 7 | Without xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] enabled 8 | this configuration option is without any use. 9 | 10 | = Default Value 11 | 12 | The default value of this configuration option is "----". 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/asciidoc-diagram-image-format.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | 3 | With the help of this configuration option it is possible to change the 4 | image format which is used by the asciidoc plantuml extension 5 | if the xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] configuration 6 | option is enabled. 7 | Without xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] enabled 8 | this configuration option is without any use. 9 | 10 | = Default Value 11 | 12 | The default value of this configuration option is "png". 13 | 14 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/asciidoc-diagram-name.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | 3 | With the help of this configuration option it is possible to change the 4 | image name which is used by the asciidoc plantuml extension 5 | if the xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] configuration 6 | option is enabled. 7 | Without xref:./enable-asciidoc-wrapper.adoc[enableAsciidocWrapper] enabled 8 | this configuration option is without any use. 9 | 10 | = Default Value 11 | 12 | The default value of this configuration option is the 13 | xref:./output-filename.adoc[outputFilename] . 14 | 15 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/enable-asciidoc-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | 3 | With the help of this configuration parameter toggle the maven plugin adds 4 | an asciidoc block statement around the plantuml content before it is 5 | written to the file. 6 | How the asciidoc block statement is written can be influenced by the 7 | configuration parameters 8 | 9 | * xref:./asciidoc-diagram-block-delimiter.adoc[] - 10 | if you want to change the block delimter 11 | * xref:./asciidoc-diagram-image-format.adoc[] - 12 | if you want to change the image format of the plantuml diagram 13 | * xref:./asciidoc-diagram-name.adoc[] - 14 | if you want to change how the diagram is named on the disk after 15 | it is rendered 16 | 17 | = Default Value 18 | 19 | The default value of this configuration parameter is *false*. 20 | 21 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/enable-markdown-wrapper.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | 3 | With the help of this configuration parameter toggle the maven plugin adds 4 | an markdown PlantUML block statement around the plantuml content before it is 5 | written to the file. 6 | 7 | = Default Value 8 | 9 | The default value of this configuration parameter is *false*. 10 | 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/output-directory.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | With this configuration parameter it is possible to specify a different 3 | output directory for the diagram file than the default one. 4 | 5 | = Default Value 6 | 7 | The default value is ${project.build.directory}/generated-docs which normally 8 | results in target/generated-docs. 9 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/docs/asciidoc/modules/ROOT/partials/output-filename.adoc: -------------------------------------------------------------------------------- 1 | = Description 2 | With this mandatory configuration parameter the name of the 3 | diagram file name is specified. 4 | 5 | = Default Value 6 | 7 | There is no default value, you have to specify it every time you use 8 | the maven plugin. -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0001-simple-class-diagram-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0002-additional-plantuml-configs-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0002-additional-plantuml-configs-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # do not run to package (default), install is enough 2 | invoker.goals = install -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0002-additional-plantuml-configs-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0023_additional-plant-uml-configs.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0003-add-jpa-annotations-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0003-add-jpa-annotations-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0003-add-jpa-annotations-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0021_jpa_annotations.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0004-blacklist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0004-blacklist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0004-blacklist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0011_jar_test_blacklist.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0005-field-blacklist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0005-field-blacklist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0005-field-blacklist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0018_blacklist_fields.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0006-field-classifier-to-ignore-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0006-field-classifier-to-ignore-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0006-field-classifier-to-ignore-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0019_ignore_classifier_fields.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0007-hide-classes-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0007-hide-classes-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0007-hide-classes-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0001_general_diagram.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0008-hide-fields-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0008-hide-fields-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0008-hide-fields-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0007_hide_parameters.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0009-hide-methods-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0009-hide-methods-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0009-hide-methods-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0007_hide_parameters.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0010-max-visibility-fields-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0010-max-visibility-fields-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0010-max-visibility-fields-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0013_max_visibility_fields_protected.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0011-max-visibility-methods-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0011-max-visibility-methods-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary 2 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0011-max-visibility-methods-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0014_max_visibility_methods_protected.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0012-method-blacklist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0012-method-blacklist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0012-method-blacklist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0017_blacklist_methods.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0013-method-classifier-to-ignore-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0013-method-classifier-to-ignore-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0013-method-classifier-to-ignore-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0020_ignore_classifier_methods.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0014-remove-fields-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0014-remove-fields-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0014-remove-fields-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0016_remove_fields.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0015-remove-methods-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0015-remove-methods-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0015-remove-methods-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0015_remove_methods.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0016-scanpackages-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0016-scanpackages-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0016-scanpackages-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0006_different_packages.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0017-whitelist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0017-whitelist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0017-whitelist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0012_jar_whitelist.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0018-asciidoc-diagram-block-delimiter-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | assert buildDiagram.text.contains( "....") 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0019-enable-asciidoc-wrapper-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | assert buildDiagram.text.contains( "[plantuml") 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0020-asciidoc-diagram-image-format-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | assert buildDiagram.text.contains( "jpg") 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0021-asciidoc-diagram-name-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | assert buildDiagram.text.contains( "supertestname") 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0022-enable-markdown-wrapper-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "BaseAbstractClass" ) 7 | assert buildDiagram.text.contains( "BaseInterface" ) 8 | assert buildDiagram.text.contains( "ChildA" ) 9 | assert buildDiagram.text.contains( "ChildB" ) 10 | assert buildDiagram.text.contains( "Util" ) 11 | assert buildDiagram.text.contains( "FileEntry" ) 12 | assert buildDiagram.text.contains( "```plantuml") 13 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0023-use-short-classnames-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0023-use-short-classnames-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0025_use_short_classnames.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0024-use-short-classnames-in-fields-and-methods-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0024-use-short-classnames-in-fields-and-methods-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0025_use_short_classnames_in_fields_and_methods.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0025-use-smetana-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0025-use-smetana-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0027_use_smetana.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0026-add-javax-validation-annotations-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0026-add-javax-validation-annotations-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0026-add-javax-validation-annotations-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0028_javax_validation_annotations.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0027-add-jpa-jakarta-annotations-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0027-add-jpa-jakarta-annotations-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0027-add-jpa-jakarta-annotations-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0021_jpa_annotations_jakarta.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0028-add-jakarta-validation-annotations-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0028-add-jakarta-validation-annotations-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/classdiagram/0028-add-jakarta-validation-annotations-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testdiagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/class/0028_jakarta_validation_annotations.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0001-simple-sequence-diagram-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0002-class-blacklist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0002-class-blacklist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0002-class-blacklist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0004_sequence_diagram_with_blacklisted_classes.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0003-hide-method-name-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0003-hide-method-name-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0003-hide-method-name-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0003_jpa_test_with_ignore_jpa_entities_and_hide_method_names.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0004-hide-super-class-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0004-hide-super-class-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0004-hide-super-class-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0002_basic_super_class_sequence_diagram_with_hide_super_class.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0005-ignore-jpa-entities-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0005-ignore-jpa-entities-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0005-ignore-jpa-entities-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0003_jpa_test_with_ignore_jpa_entities.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0006-ignore-standard-classes-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0006-ignore-standard-classes-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0006-ignore-standard-classes-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0003_jpa_test_with_standard_classes.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0007-method-blacklist-regexp-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0007-method-blacklist-regexp-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0007-method-blacklist-regexp-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0004_sequence_diagram_with_blacklisted_method.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0008-show-return-types-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0008-show-return-types-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0008-show-return-types-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0001_basic_caller_test_with_return_types.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0009-use-short-class-names-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0009-use-short-class-names-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0009-use-short-class-names-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation" ) 4 | 5 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 6 | File testDiagram = new File( basedir.absolutePath+'/../../../../../plantuml-generator-util/src/test/resources/sequence/0001_basic_caller_with_long_class_names.txt' ) 7 | assert buildDiagram.exists() 8 | assert testDiagram.exists() 9 | String buildDiagramText = buildDiagram.text 10 | String testDiagramText = testDiagram.text 11 | assert testDiagramText.replaceAll("\\s+", "").equals(buildDiagramText.replaceAll("\\s+", "")) 12 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/testsequencediagram1.txt: -------------------------------------------------------------------------------- 1 | [plantuml,testsequencediagram1.txt.png,png] 2 | ---- 3 | @startuml 4 | 5 | participant ChildA 6 | participant ChildB 7 | participant BaseAbstractClass 8 | 9 | activate ChildA 10 | ChildA -> ChildB : getUtil 11 | activate ChildB 12 | ChildB --> ChildA 13 | deactivate ChildB 14 | ChildA -> BaseAbstractClass : doSomethingWithReturnValue 15 | activate BaseAbstractClass 16 | BaseAbstractClass --> ChildA 17 | deactivate BaseAbstractClass 18 | ChildA -> BaseAbstractClass : doSomethingWithParameter 19 | activate BaseAbstractClass 20 | BaseAbstractClass --> ChildA 21 | deactivate BaseAbstractClass 22 | deactivate ChildA 23 | 24 | @enduml 25 | 26 | ---- -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0010-enable-asciidoc-wrapper-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | assert buildDiagram.text.contains( "[plantuml") 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/testsequencediagram1.txt: -------------------------------------------------------------------------------- 1 | [plantuml,testsequencediagram1.txt.png,png] 2 | .... 3 | @startuml 4 | 5 | participant ChildA 6 | participant ChildB 7 | participant BaseAbstractClass 8 | 9 | activate ChildA 10 | ChildA -> ChildB : getUtil 11 | activate ChildB 12 | ChildB --> ChildA 13 | deactivate ChildB 14 | ChildA -> BaseAbstractClass : doSomethingWithReturnValue 15 | activate BaseAbstractClass 16 | BaseAbstractClass --> ChildA 17 | deactivate BaseAbstractClass 18 | ChildA -> BaseAbstractClass : doSomethingWithParameter 19 | activate BaseAbstractClass 20 | BaseAbstractClass --> ChildA 21 | deactivate BaseAbstractClass 22 | deactivate ChildA 23 | 24 | @enduml 25 | 26 | .... -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0011-asciidoc-diagram-block-delimiter-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | assert buildDiagram.text.contains( "....") -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/testsequencediagram1.txt: -------------------------------------------------------------------------------- 1 | [plantuml,testsequencediagram1.txt.jpg,jpg] 2 | ---- 3 | @startuml 4 | 5 | participant ChildA 6 | participant ChildB 7 | participant BaseAbstractClass 8 | 9 | activate ChildA 10 | ChildA -> ChildB : getUtil 11 | activate ChildB 12 | ChildB --> ChildA 13 | deactivate ChildB 14 | ChildA -> BaseAbstractClass : doSomethingWithReturnValue 15 | activate BaseAbstractClass 16 | BaseAbstractClass --> ChildA 17 | deactivate BaseAbstractClass 18 | ChildA -> BaseAbstractClass : doSomethingWithParameter 19 | activate BaseAbstractClass 20 | BaseAbstractClass --> ChildA 21 | deactivate BaseAbstractClass 22 | deactivate ChildA 23 | 24 | @enduml 25 | 26 | ---- -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0012-asciidoc-diagram-image-format-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | assert buildDiagram.text.contains( "jpg") -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/testsequencediagram1.txt: -------------------------------------------------------------------------------- 1 | [plantuml,supertestname,png] 2 | ---- 3 | @startuml 4 | 5 | participant ChildA 6 | participant ChildB 7 | participant BaseAbstractClass 8 | 9 | activate ChildA 10 | ChildA -> ChildB : getUtil 11 | activate ChildB 12 | ChildB --> ChildA 13 | deactivate ChildB 14 | ChildA -> BaseAbstractClass : doSomethingWithReturnValue 15 | activate BaseAbstractClass 16 | BaseAbstractClass --> ChildA 17 | deactivate BaseAbstractClass 18 | ChildA -> BaseAbstractClass : doSomethingWithParameter 19 | activate BaseAbstractClass 20 | BaseAbstractClass --> ChildA 21 | deactivate BaseAbstractClass 22 | deactivate ChildA 23 | 24 | @enduml 25 | 26 | ---- -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0013-asciidoc-diagram-name-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | assert buildDiagram.text.contains( "supertestname") -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/invoker.properties: -------------------------------------------------------------------------------- 1 | # no invoker property necessary -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | ChildB childB; 9 | 10 | public void doSomethingSpecial() { 11 | childB.getUtil(); 12 | doSomethingWithReturnValue(); 13 | doSomethingWithParameter(""); 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/src/main/java/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.maven.plugin.plantuml.generator.test.domain; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { //NOSONAR - just a test class 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/testsequencediagram1.txt: -------------------------------------------------------------------------------- 1 | ```plantuml 2 | @startuml 3 | 4 | participant ChildA 5 | participant ChildB 6 | participant BaseAbstractClass 7 | 8 | activate ChildA 9 | ChildA -> ChildB : getUtil 10 | activate ChildB 11 | ChildB --> ChildA 12 | deactivate ChildB 13 | ChildA -> BaseAbstractClass : doSomethingWithReturnValue 14 | activate BaseAbstractClass 15 | BaseAbstractClass --> ChildA 16 | deactivate BaseAbstractClass 17 | ChildA -> BaseAbstractClass : doSomethingWithParameter 18 | activate BaseAbstractClass 19 | BaseAbstractClass --> ChildA 20 | deactivate BaseAbstractClass 21 | deactivate ChildA 22 | 23 | @enduml 24 | 25 | ``` 26 | -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/it/sequencediagram/0014-enable-markdown-wrapper-it/verify.groovy: -------------------------------------------------------------------------------- 1 | File buildLog = new File( basedir, 'build.log' ) 2 | assert buildLog.exists() 3 | assert buildLog.text.contains( "[INFO] Starting plantuml sequence diagram generation " ) 4 | File buildDiagram = new File( basedir.absolutePath+'/target/generated-docs/testsequencediagram1.txt' ) 5 | assert buildDiagram.exists() 6 | assert buildDiagram.text.contains( "ChildA" ) 7 | assert buildDiagram.text.contains( "ChildB" ) 8 | assert buildDiagram.text.contains( "doSomethingWithReturnValue" ) 9 | assert buildDiagram.text.contains( "```plantuml") -------------------------------------------------------------------------------- /plantuml-generator-maven-plugin/src/main/resources/Dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-maven-plugin/src/main/resources/Dummy -------------------------------------------------------------------------------- /plantuml-generator-util/.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.project 3 | /.settings/ 4 | /target/ 5 | /.asciidoctorconfig.adoc 6 | /plantuml-generator-util.iml 7 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/antora.yml: -------------------------------------------------------------------------------- 1 | name: plantuml-generator-util 2 | title: Utility 3 | asciidoc: 4 | attributes: 5 | compontentkeywords: "{sitekeywords}" 6 | nav: 7 | - modules/ROOT/nav.adoc -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/examples/javasrc: -------------------------------------------------------------------------------- 1 | ../../../../../main/java -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/examples/resources: -------------------------------------------------------------------------------- 1 | ../../../../../main/resources -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/examples/testresources: -------------------------------------------------------------------------------- 1 | ../../../../../test/resources -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/examples/testsrc: -------------------------------------------------------------------------------- 1 | ../../../../../test/java -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/_attributes.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/_attributes.adoc -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/class-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] 2 | 3 | :keywords: {compontentkeywords}, class diagram 4 | :builderclass: PlantUMLClassDiagramConfigBuilder 5 | :configclass: PlantUMLClassDiagramConfig 6 | :generatorclass: PlantUMLClassDiagramGenerator -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/class-diagram/config/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] 2 | 3 | :keywords: {compontentkeywords}, sequence diagram 4 | :builderclass: PlantUMLSequenceDiagramConfigBuilder 5 | :configclass: PlantUMLSequenceDiagramConfig 6 | :generatorclass: PlantUMLSequenceDiagramGenerator -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] 2 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/start-class.adoc: -------------------------------------------------------------------------------- 1 | = startClass 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$sequence-diagram/start-class.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | Here is an example from the JUnit tests using this configuration parameter: 9 | 10 | include::partial$_sequence_diagram_example.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/pages/sequence-diagram/config/start-method.adoc: -------------------------------------------------------------------------------- 1 | = startMethod 2 | include::./_attributes.adoc[] 3 | 4 | include::partial$sequence-diagram/start-method.adoc[leveloffset=+1] 5 | 6 | == Example 7 | 8 | Here is an example from the JUnit tests using this configuration parameter: 9 | 10 | include::partial$_sequence_diagram_example.adoc[] -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/_attributes.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/_attributes.adoc -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/_class_diagram_example_aggregation.adoc: -------------------------------------------------------------------------------- 1 | [source,java,indent=0] 2 | ---- 3 | include::example$testsrc/de/elnarion/util/plantuml/generator/classdiagram/PlantUMLClassDiagramGeneratorTest.java[tags=aggregaterelationships] 4 | ---- 5 | 6 | the result of this generation is 7 | 8 | [source,plantuml,indent=0] 9 | ---- 10 | include::example$testresources/class/0026_different_aggregate_relationships.txt[] 11 | ---- 12 | 13 | which is rendered in PlantUML this way: 14 | 15 | [plantuml,0001_general_diagram,png] 16 | ---- 17 | include::example$testresources/class/0026_different_aggregate_relationships.txt[] 18 | ---- 19 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/_sequence_diagram_example.adoc: -------------------------------------------------------------------------------- 1 | [source,java,indent=0] 2 | ---- 3 | include::example$testsrc/de/elnarion/util/plantuml/generator/sequencediagram/PlantUMLSequenceDiagramGeneratorTest.java[tags=basecallersequence] 4 | ---- 5 | 6 | [sidebar] 7 | -- 8 | <1> add start class as string 9 | <2> add start method as string 10 | <3> create generator object with config from builder 11 | <4> generate diagram text 12 | -- 13 | 14 | the result of this generation is 15 | 16 | [source,plantuml,indent=0] 17 | ---- 18 | include::example$testresources/sequence/0001_basic_caller_test.txt[] 19 | ---- 20 | 21 | 22 | 23 | which is rendered in PlantUML this way: 24 | 25 | [plantuml,0001_basic_caller_test_diagram,png] 26 | ---- 27 | include::example$testresources/sequence/0001_basic_caller_test.txt[] 28 | ---- 29 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] 2 | 3 | :keywords: {compontentkeywords}, class diagram 4 | :builderclass: PlantUMLClassDiagramConfigBuilder 5 | :configclass: PlantUMLClassDiagramConfig 6 | :generatorclass: PlantUMLClassDiagramGenerator -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/additional-plantuml-configs.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | 6 | With the help of this configuration parameter you are able to 7 | add any PlantUML configuration or even normal text to the beginning 8 | of the generated PlantUML diagram. 9 | The parameter is a list of strings and every string is a new line in the 10 | PlantUML diagram. 11 | 12 | If this parameter is not added or if the parameter is an empty list, 13 | nothing is added to the diagram. 14 | 15 | // end::description[] 16 | 17 | = Default value 18 | // tag::defaultvalue[] 19 | The default value for this configuration is an empty list. 20 | // end::defaultvalue[] 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/blacklist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | This parameter can only be specified together with a list of packages 6 | to scan for. 7 | This is because otherwise the number of classes would otherwise be to 8 | large. 9 | 10 | If this parameter is specified it is used as a filter for all classes found 11 | in the 12 | xref:./scanpackages.adoc[defined packages to scan] 13 | and used via the String.matches method of 14 | Java. 15 | // end::description[] 16 | 17 | = Default value 18 | // tag::defaultvalue[] 19 | There is no default value for the blacklist regular expression. 20 | It is only used when specified and not empty. 21 | // end::defaultvalue[] 22 | 23 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/field-blacklist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration option you can add a regular expression to the 6 | configuration to filter out specific fields from the diagram. 7 | // end::description[] 8 | 9 | = Default value 10 | // tag::defaultvalue[] 11 | The default value of this configuration is null. 12 | // end::defaultvalue[] 13 | 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/field-classifier-to-ignore.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration list option you can filter out fields by their 6 | classifier from the diagram. 7 | 8 | You can add any of the following values to the configuration list: 9 | 10 | * ABSTRACT - all abstract non-static fields are filtered out 11 | * STATIC - all static non-abstract fields are filtered out 12 | * ABSTRACT_STATIC - all static abstract fields are filtered out 13 | * NONE - all fields without abstract or static classifier are filtered out 14 | // end::description[] 15 | 16 | = Default value 17 | // tag::defaultvalue[] 18 | The default value of this configuration option is an empty list (no filtering 19 | via classifier). 20 | // end::defaultvalue[] 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/hide-classes.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration toggle you can hide a class in the rendered diagram 6 | but it is still part of the generated diagram. 7 | 8 | If you want to remove the class completely, you have to use a 9 | xref:./blacklist-regexp.adoc[blacklist regular expression] 10 | // end::description[] 11 | 12 | = Default value 13 | // tag::defaultvalue[] 14 | The default value of this configuration option is an empty list (no class 15 | is hidden). 16 | // end::defaultvalue[] 17 | 18 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/hide-fields.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration toggle you can hide all fields in the rendered diagram 6 | but they are still part of the generated diagram text. 7 | 8 | If you want to remove specific fields from the diagram, 9 | you have to use the 10 | xref:./field-blacklist-regexp.adoc[field blacklist regular expression] 11 | configuration option. 12 | 13 | If you want to remove all fields from the diagram completely, you have 14 | to use the 15 | xref:./remove-fields.adoc[remove fields] 16 | configuration option. 17 | // end::description[] 18 | 19 | 20 | = Default value 21 | // tag::defaultvalue[] 22 | The default value of this configuration option is *false* (nothing is hidden). 23 | // end::defaultvalue[] 24 | 25 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/max-visibility-fields.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration option you can filter out fields from the 6 | diagram by their visibility in Java. 7 | 8 | The following options are supported: 9 | 10 | * PUBLIC + 11 | only public fields will be displayed 12 | * PROTECTED + 13 | only public and protected fields will be displayed 14 | * PACKAGE_PRIVATE + 15 | only public, protected and package_private fields will be displayed 16 | * PRIVATE + 17 | all fields will be displayed if not removed or ignored by other parameters 18 | // end::description[] 19 | 20 | = Default value 21 | // tag::defaultvalue[] 22 | The default value of this configuration option is PRIVATE. 23 | // end::defaultvalue[] 24 | 25 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/max-visibility-methods.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration option you can filter out methods from the 6 | diagram by their visibility in Java. 7 | 8 | The following options are supported: 9 | 10 | * PUBLIC + 11 | only public methods will be displayed 12 | * PROTECTED + 13 | only public and protected methods will be displayed 14 | * PACKAGE_PRIVATE + 15 | only public, protected and package_private methods will be displayed 16 | * PRIVATE + 17 | all fields will be displayed if not removed or ignored by other parameters 18 | // end::description[] 19 | 20 | = Default value 21 | // tag::defaultvalue[] 22 | The default value of this configuration option is PRIVATE. 23 | // end::defaultvalue[] 24 | 25 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/method-blacklist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration option you can add a regular expression to the 6 | configuration to filter out specific methods from the diagram. 7 | // end::description[] 8 | 9 | = Default value 10 | // tag::defaultvalue[] 11 | The default value of this configuration is null. 12 | // end::defaultvalue[] 13 | 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/method-classifier-to-ignore.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration list option you can filter out methods by their 6 | classifier from the diagram. 7 | 8 | You can add any of the following values to the configuration list: 9 | 10 | * ABSTRACT - all abstract non-static methods are filtered out 11 | * STATIC - all static non-abstract methods are filtered out 12 | * ABSTRACT_STATIC - all static abstract methods are filtered out 13 | * NONE - all methods without abstract or static classifier are filtered out 14 | // end::description[] 15 | 16 | = Default value 17 | // tag::defaultvalue[] 18 | The default value of this configuration option is an empty list (no filtering 19 | via classifier). 20 | // end::defaultvalue[] 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/remove-fields.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration toggle you can remove all fields 6 | from the generated diagram text. 7 | 8 | If you want to remove specific fields from the diagram, 9 | you have to use the 10 | xref:./field-blacklist-regexp.adoc[field blacklist regular expression] 11 | configuration option. 12 | 13 | If you want to hide all fields on the rendered diagram but do not want to 14 | remove them from the diagram text, you have to use the 15 | xref:./hide-fields.adoc[hide fields] 16 | configuration option. 17 | // end::description[] 18 | 19 | = Default value 20 | // tag::defaultvalue[] 21 | The default value of this configuration option is false (nothing is removed). 22 | // end::defaultvalue[] 23 | 24 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/scanpackages.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration parameter it is possible to set a list of 6 | packages names which classes should be part of the generated diagram 7 | text. 8 | It can be combined with a 9 | xref:./blacklist-regexp.adoc[blacklist regular expression] 10 | to filter out some classes inside these packages. 11 | 12 | This configuration parameter can not be combined with the 13 | xref:./whitelist-regexp.adoc[whitelist regular expression] 14 | configuration parameter. 15 | // end::description[] 16 | 17 | = Default value 18 | // tag::defaultvalue[] 19 | If not specified the default value is an empty list (ignored). 20 | // end::defaultvalue[] 21 | 22 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/use-short-classnames-in-fields-and-methods.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | 6 | With this configuration toggle you can specify that all class names 7 | in internal fields or method parameters or method return types 8 | in the diagram should be generated without any package name. 9 | 10 | If you want to shorten the class names at all, 11 | you have to use the 12 | xref:./use-short-classnames.adoc[useShortClassNames] 13 | configuration option. 14 | 15 | IMPORTANT: This feature is only available with version 2.0.0 or higher. 16 | 17 | // end::description[] 18 | 19 | = Default value 20 | // tag::defaultvalue[] 21 | The default value of this configuration option is false (no package name is removed). 22 | // end::defaultvalue[] 23 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/use-short-classnames.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | 6 | With this configuration toggle you can specify that all class names 7 | in the diagram should be generated without any package name. 8 | 9 | If you only want to shorten the class names in fields and methods, 10 | you have to use the 11 | xref:./use-short-classnames-in-fields-and-methods.adoc[useShortClassNamesInFieldsAndMethods] 12 | configuration option. 13 | 14 | IMPORTANT: This feature is only available with version 2.0.0 or higher. 15 | 16 | // end::description[] 17 | 18 | = Default value 19 | // tag::defaultvalue[] 20 | The default value of this configuration option is false (no package name is removed). 21 | // end::defaultvalue[] 22 | 23 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/use-smetana.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With this configuration toggle you can activte smetana as 6 | replacement for GraphViz/Dot for layouting (see 7 | link:https://plantuml.com/de/smetana02[smetana-documentation] 8 | ). 9 | 10 | = Default value 11 | // tag::defaultvalue[] 12 | The default value of this configuration option is *false* (smetana is not activated). 13 | // end::defaultvalue[] 14 | 15 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/class-diagram/whitelist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | This configuration parameter defines a regular expression for all classes 6 | which should be part of the generated diagram text. 7 | It can not be combined with a 8 | xref:./blacklist-regexp.adoc[blacklist regular expression] 9 | or a 10 | xref:./scanpackages.adoc[list of packages to scan for]. 11 | Therefore it can only be added to the constructor of the {builderclass} 12 | class as a single parameter. 13 | // end::description[] 14 | 15 | = Default value 16 | // tag::defaultvalue[] 17 | If not specified the default value is null (ignored). 18 | // end::defaultvalue[] 19 | 20 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] 2 | 3 | :keywords: {compontentkeywords}, sequence diagram 4 | :builderclass: PlantUMLSequenceDiagramConfigBuilder 5 | :configclass: PlantUMLSequenceDiagramConfig 6 | :generatorclass: PlantUMLSequenceDiagramGenerator 7 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/class-blacklist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible to 6 | remove classes from the call sequence flow. 7 | If they are removed, no subsequent calls are part of the diagram 8 | anymore. 9 | // end::description[] 10 | 11 | = Default value 12 | // tag::defaultvalue[] 13 | The default value of this configuration parameter is *null* 14 | (nothing is blacklisted). 15 | // end::defaultvalue[] 16 | 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/hide-method-name.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible to 6 | hide/remove the method names from the sequence diagram because 7 | they are show as default. 8 | // end::description[] 9 | 10 | = Default value 11 | // tag::defaultvalue[] 12 | The default value of this configuration parameter is *false*. 13 | // end::defaultvalue[] 14 | 15 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/hide-super-class.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible 6 | to show the method call as part of the child class instead of the 7 | super class if the call starts from the child class. 8 | // end::description[] 9 | 10 | = Default value 11 | // tag::defaultvalue[] 12 | The default value of this configuration parameter is *false*. 13 | // end::defaultvalue[] 14 | 15 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/ignore-jpa-entities.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration toggle it is possible to remove 6 | all calls to a JPA entity from the sequence flow because entities are 7 | often only simple POJOs. 8 | // end::description[] 9 | 10 | = Default value 11 | // tag::defaultvalue[] 12 | The default value of this toggle is *false*. 13 | // end::defaultvalue[] 14 | 15 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/ignore-standard-classes.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible to remove 6 | all Java standard classes (java.* package names) from the call sequence. 7 | Because this is normal wanted behavior this toggle is activated by 8 | default. 9 | If you want the standard classes in the diagram, you must deactivate it. 10 | // end::description[] 11 | 12 | = Default value 13 | // tag::defaultvalue[] 14 | The default value of this configuration is *true* (all standard java classes 15 | are ignored). 16 | // end::defaultvalue[] 17 | 18 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/method-blacklist-regexp.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible to 6 | ignore/remove specific method calls and their subsequent calls 7 | from the sequence flow. 8 | // end::description[] 9 | 10 | = Default value 11 | // tag::defaultvalue[] 12 | The default value of this configuration parameter is *null* 13 | (nothing ignored/removed). 14 | // end::defaultvalue[] 15 | 16 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/show-return-types.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration parameter it is possible to 6 | show the type of the returned objects of a method call. 7 | 8 | The shown types are displayed according to the 9 | xref:./use-short-class-names.adoc[use short class names] toggle 10 | which is activated by default. 11 | // end::description[] 12 | 13 | = Default value 14 | // tag::defaultvalue[] 15 | The default value of this configuration parameter is *false* 16 | (no return type shown). 17 | // end::defaultvalue[] 18 | 19 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/start-class.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | This is a mandatory parameter and therefore it has to be set 6 | in the constructor of the {builderclass} class. 7 | If you specify it, it has to be the qualified class name 8 | (package name plus class name). 9 | 10 | If this class can not be found a NotFoundException is raised. 11 | // end::description[] 12 | 13 | = Default value 14 | // tag::defaultvalue[] 15 | There is no default value, this parameter is mandatory! 16 | // end::defaultvalue[] 17 | 18 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/start-method.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | This is a mandatory parameter and therefore it has to be set 6 | in the constructor of the {builderclass} class. 7 | If you specify it, it has to be a unique method name or else 8 | a random method with the same name is chosen. 9 | 10 | If this method can not be found a NotFoundException is raised. 11 | // end::description[] 12 | 13 | = Default value 14 | // tag::defaultvalue[] 15 | There is no default value, this parameter is mandatory! 16 | // end::defaultvalue[] 17 | 18 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/docs/asciidoc/modules/ROOT/partials/sequence-diagram/use-short-class-names.adoc: -------------------------------------------------------------------------------- 1 | include::./_attributes.adoc[] 2 | 3 | = Description 4 | // tag::description[] 5 | With the help of this configuration toggle it is possible to 6 | show only the class names in the diagram without the package name 7 | (full qualified). 8 | Because full qualified names increase the size of the diagram enormously the 9 | toggle is activated by default. 10 | 11 | The parameter itself targets all class names in the diagram, even 12 | the return types of the method calls which can be shown by the 13 | xref:./show-return-types.adoc[show return types] parameter. 14 | // end::description[] 15 | 16 | = Default value 17 | // tag::defaultvalue[] 18 | The default value of this configuration parameter is *true*. 19 | // end::defaultvalue[] 20 | 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/classdiagram/config/ClassifierType.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.classdiagram.config; 2 | 3 | /** 4 | * The Enum ClassifierType defines the different classifiers of a class, field 5 | * or method in the diagram. 6 | */ 7 | public enum ClassifierType { 8 | 9 | /** none. */ 10 | NONE, 11 | 12 | /** static. */ 13 | STATIC, 14 | 15 | /** abstract. */ 16 | ABSTRACT, 17 | 18 | /** abstract static. */ 19 | ABSTRACT_STATIC 20 | } 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/classdiagram/config/VisibilityType.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.classdiagram.config; 2 | 3 | /** 4 | * The Enum VisibilityType defines all supported visibility types of this 5 | * utility. 6 | */ 7 | public enum VisibilityType { 8 | 9 | /** private. */ 10 | PRIVATE, 11 | 12 | /** protected. */ 13 | PROTECTED, 14 | 15 | /** package private. */ 16 | PACKAGE_PRIVATE, 17 | 18 | /** public. */ 19 | PUBLIC 20 | } 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/classdiagram/internal/ClassType.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.classdiagram.internal; 2 | 3 | /** 4 | * The Enum ClassType defines supported class types during the uml class diagram 5 | * generation. 6 | */ 7 | public enum ClassType { 8 | 9 | /** interface. */ 10 | INTERFACE, 11 | 12 | /** class. */ 13 | CLASS, 14 | 15 | /** abstract class. */ 16 | ABSTRACT_CLASS, 17 | 18 | /** enum. */ 19 | ENUM, 20 | 21 | /** annotation. */ 22 | ANNOTATION 23 | } 24 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/classdiagram/internal/PlantUMLDiagramElement.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.classdiagram.internal; 2 | 3 | /** 4 | * The Interface PlantUMLDiagramElement defines all methods common to all 5 | * PlantUMLDiagramElements. 6 | */ 7 | public interface PlantUMLDiagramElement { 8 | 9 | /** 10 | * Gets the diagram text. 11 | * 12 | * @return String - the diagram text 13 | */ 14 | String getDiagramText(); 15 | } 16 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/classdiagram/internal/RelationshipType.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.classdiagram.internal; 2 | 3 | /** 4 | * The Enum RelationshipType defines all supported relationship types of this 5 | * utility. 6 | */ 7 | public enum RelationshipType { 8 | 9 | /** inheritance. */ 10 | INHERITANCE, 11 | 12 | /** realization. */ 13 | REALIZATION, 14 | 15 | /** composition (not used so far). */ 16 | COMPOSITION, 17 | 18 | /** aggregation. */ 19 | AGGREGATION, 20 | 21 | /** association. */ 22 | ASSOCIATION, 23 | 24 | /** directed association. */ 25 | DIRECTED_ASSOCIATION 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/sequencediagram/exception/NotFoundException.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.sequencediagram.exception; 2 | 3 | /** 4 | * This exception is thrown if a method or class is not found on the classpath. 5 | */ 6 | public class NotFoundException extends Exception { 7 | 8 | /** 9 | * 10 | */ 11 | private static final long serialVersionUID = 1L; 12 | 13 | 14 | /** 15 | * Instantiates a new not found exception. 16 | * 17 | * @param message the message 18 | * @param cause the cause 19 | */ 20 | public NotFoundException(String message, Throwable cause) { 21 | super(message, cause); 22 | } 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/java/de/elnarion/util/plantuml/generator/sequencediagram/internal/ICallerClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.util.plantuml.generator.sequencediagram.internal; 2 | 3 | import java.util.List; 4 | 5 | public interface ICallerClass { 6 | /** 7 | * Gets the name. 8 | * 9 | * @return the name 10 | */ 11 | String getName(); 12 | 13 | /** 14 | * Gets the parent classes. 15 | * 16 | * @return the parent classes 17 | */ 18 | List getParentClassNames(); 19 | 20 | /** 21 | * Gets the diagram class name. 22 | * 23 | * @return the diagram class name 24 | */ 25 | String getDiagramClassName(); 26 | } 27 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/main/resources/Dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/main/resources/Dummy -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseAbstractClass.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseAbstractClass.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/BaseInterface.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildA.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/ChildB.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/maven/plugin/plantuml/generator/test/domain/Util.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/Controller.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/Controller.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/Model.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/Model.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/User.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/View.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/plantuml-generator-util/src/test/classes/de/elnarion/test/sequence/t0004/View.class -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0001/BaseAbstractClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0001; 2 | 3 | /** 4 | * The Class BaseAbstractClass. 5 | */ 6 | public class BaseAbstractClass implements BaseInterface { 7 | 8 | /** 9 | * Do something else. 10 | */ 11 | public void doSomethingElse() 12 | { 13 | 14 | } 15 | 16 | /** 17 | * Do something. 18 | */ 19 | public void doSomething() 20 | { 21 | 22 | } 23 | 24 | /** 25 | * Do something with parameter. 26 | * 27 | * @param paramParameter the param parameter 28 | */ 29 | public void doSomethingWithParameter(String paramParameter) 30 | { 31 | 32 | } 33 | 34 | /** 35 | * Do something with return value. 36 | * 37 | * @return the string 38 | */ 39 | public String doSomethingWithReturnValue() 40 | { 41 | return ""; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0001/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0001; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0001/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0001; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0001/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0001; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass{ 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0001/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0001; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0002/AbstractClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0002; 2 | 3 | /** 4 | * The Class AbstractClass. 5 | */ 6 | public abstract class AbstractClass { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0002/NormalAnnotation.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0002; 2 | 3 | /** 4 | * The Interface NormalAnnotation. 5 | */ 6 | public @interface NormalAnnotation { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0002/NormalClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0002; 2 | 3 | /** 4 | * The Class NormalClass. 5 | */ 6 | public class NormalClass { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0002/NormalEnum.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0002; 2 | 3 | /** 4 | * The Enum NormalEnum. 5 | */ 6 | public enum NormalEnum { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0002/NormalInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0002; 2 | 3 | /** 4 | * The Interface NormalInterface. 5 | */ 6 | public interface NormalInterface { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0003/BaseClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0003; 2 | 3 | /** 4 | * The Class BaseClass. 5 | */ 6 | public class BaseClass { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0003/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0003; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0003/ClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0003; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | import java.util.Set; 6 | 7 | /** 8 | * The Class ClassA. 9 | */ 10 | public class ClassA extends BaseClass { 11 | 12 | List classBList; 13 | Set classBSet; 14 | Map classBMap; 15 | List stringList; 16 | Set stringSet; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0003/ClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0003; 2 | 3 | /** 4 | * The Class ClassB. 5 | */ 6 | public class ClassB implements BaseInterface { 7 | 8 | @SuppressWarnings("unused") 9 | private ClassA classAInstance; 10 | protected ClassA classAInstanceProtected; 11 | 12 | /** The class A instance publid. */ 13 | public ClassA classAInstancePublic; 14 | 15 | } 16 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0004/TestReference.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0004; 2 | 3 | /** 4 | * The Class TestReference. 5 | */ 6 | public class TestReference { 7 | 8 | /** 9 | * Instantiates a new test reference. 10 | */ 11 | public TestReference() { 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0006/pck1/ClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0006.pck1; 2 | 3 | /** 4 | * The Class ClassA. 5 | */ 6 | public class ClassA { 7 | 8 | @SuppressWarnings("unused") 9 | private ClassB classB; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0006/pck1/ClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0006.pck1; 2 | 3 | import de.elnarion.test.domain.t0006.pck2.ClassC; 4 | 5 | /** 6 | * The Class ClassB. 7 | */ 8 | public class ClassB { 9 | 10 | @SuppressWarnings("unused") 11 | private ClassC classc; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0006/pck2/ClassC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0006.pck2; 2 | 3 | /** 4 | * The Class ClassC. 5 | */ 6 | public class ClassC { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0007/ClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0007; 2 | 3 | /** 4 | * The Class ClassA. 5 | */ 6 | public class ClassA { 7 | 8 | /** The field A. */ 9 | public String fieldA; 10 | 11 | /** The field B. */ 12 | public String fieldB; 13 | 14 | /** 15 | * Test method. 16 | */ 17 | public void testMethod() { 18 | 19 | } 20 | 21 | /** 22 | * Test method 2. 23 | */ 24 | public void testMethod2() { 25 | 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0007/ClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0007; 2 | 3 | /** 4 | * The Class ClassB. 5 | */ 6 | public class ClassB { 7 | 8 | @SuppressWarnings("unused") 9 | private ClassA testA; 10 | @SuppressWarnings("unused") 11 | private ClassB testB; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0007/ClassC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0007; 2 | 3 | /** 4 | * The Class ClassC. 5 | */ 6 | public class ClassC { 7 | 8 | /** The field A. */ 9 | public String fieldA; 10 | 11 | /** The field B. */ 12 | public String fieldB; 13 | 14 | /** 15 | * Test method. 16 | */ 17 | public void testMethod() { 18 | 19 | } 20 | 21 | /** 22 | * Test method 2. 23 | */ 24 | public void testMethod2() { 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0007/ClassD.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0007; 2 | 3 | /** 4 | * The Class ClassD. 5 | */ 6 | public class ClassD { 7 | 8 | @SuppressWarnings("unused") 9 | private ClassD testD; 10 | @SuppressWarnings("unused") 11 | private ClassC testC; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0010/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0010; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | * 6 | * @param the generic type 7 | */ 8 | public interface BaseInterface { 9 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0010/ExtendedInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0010; 2 | 3 | /** 4 | * The Interface ExtendedInterface. 5 | * 6 | * @param the generic type 7 | * @param the generic type 8 | */ 9 | public interface ExtendedInterface extends BaseInterface { 10 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0010/GenericType.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0010; 2 | 3 | /** 4 | * The Class GenericType. 5 | * 6 | * @param the generic type 7 | */ 8 | public class GenericType { 9 | 10 | /** The asdf. */ 11 | private T asdf; 12 | 13 | /** 14 | * Instantiates a new generic type. 15 | */ 16 | public GenericType() { 17 | } 18 | 19 | /** 20 | * Gets the asdf. 21 | * 22 | * @return T - the asdf 23 | */ 24 | public T getAsdf() { 25 | return asdf; 26 | } 27 | 28 | /** 29 | * Sets the asdf. 30 | * 31 | * @param asdf the asdf 32 | */ 33 | public void setAsdf(T asdf) { 34 | this.asdf = asdf; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0010/MyClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0010; 2 | 3 | /** 4 | * The Class MyClass. 5 | */ 6 | public class MyClass implements ExtendedInterface { 7 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0013/Testclass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0013; 2 | 3 | public class Testclass { 4 | 5 | @SuppressWarnings("unused") 6 | private long test1; 7 | long test2; 8 | protected long test3; 9 | public long test4; 10 | private long test5; 11 | 12 | public long getTest5() { 13 | return test5; 14 | } 15 | 16 | public void setTest5(long test5) { 17 | this.test5 = test5; 18 | } 19 | 20 | 21 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0014/Testclass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0014; 2 | 3 | public class Testclass { 4 | 5 | @SuppressWarnings("unused") 6 | private void doSomething1(){ 7 | 8 | } 9 | 10 | void doSomething2(){ 11 | 12 | } 13 | 14 | protected void doSomething3(){ 15 | 16 | } 17 | 18 | public void doSomething4(){ 19 | 20 | } 21 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0015/Testclass1.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0015; 2 | 3 | public class Testclass1 { 4 | 5 | private long testfield; 6 | private Testclass2 testfield2; 7 | 8 | public void doSomething() { 9 | 10 | } 11 | 12 | public Testclass2 getTestfield2() { 13 | return testfield2; 14 | } 15 | 16 | public void setTestfield2(Testclass2 testfield2) { 17 | this.testfield2 = testfield2; 18 | } 19 | 20 | public long getTestfield() { 21 | return testfield; 22 | } 23 | 24 | public void setTestfield(long testfield) { 25 | this.testfield = testfield; 26 | } 27 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0015/Testclass2.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0015; 2 | 3 | public class Testclass2 { 4 | 5 | protected void doSomething(){ 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0016/Testclass1.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0016; 2 | 3 | public class Testclass1 { 4 | 5 | private long testfield; 6 | private Testclass2 testfield2; 7 | 8 | public void doSomething() { 9 | 10 | } 11 | 12 | public Testclass2 getTestfield2() { 13 | return testfield2; 14 | } 15 | 16 | public void setTestfield2(Testclass2 testfield2) { 17 | this.testfield2 = testfield2; 18 | } 19 | 20 | public long getTestfield() { 21 | return testfield; 22 | } 23 | 24 | public void setTestfield(long testfield) { 25 | this.testfield = testfield; 26 | } 27 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0016/Testclass2.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0016; 2 | 3 | public class Testclass2 { 4 | 5 | protected void doSomething(){ 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0017/Testclass1.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0017; 2 | 3 | public class Testclass1 { 4 | 5 | private long testfield; 6 | private Testclass2 testfield2; 7 | 8 | public void doSomething1() { 9 | 10 | } 11 | 12 | public Testclass2 getTestfield2() { 13 | return testfield2; 14 | } 15 | 16 | public void setTestfield2(Testclass2 testfield2) { 17 | this.testfield2 = testfield2; 18 | } 19 | 20 | public long getTestfield() { 21 | return testfield; 22 | } 23 | 24 | public void setTestfield(long testfield) { 25 | this.testfield = testfield; 26 | } 27 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0017/Testclass2.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0017; 2 | 3 | public class Testclass2 { 4 | 5 | protected void doSomething(){ 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0018/Testclass1.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0018; 2 | 3 | public class Testclass1 { 4 | 5 | private long testfield; 6 | private Testclass2 testfield2; 7 | 8 | public void doSomething() { 9 | 10 | } 11 | 12 | public Testclass2 getTestfield2() { 13 | return testfield2; 14 | } 15 | 16 | public void setTestfield2(Testclass2 testfield2) { 17 | this.testfield2 = testfield2; 18 | } 19 | 20 | public long getTestfield() { 21 | return testfield; 22 | } 23 | 24 | public void setTestfield(long testfield) { 25 | this.testfield = testfield; 26 | } 27 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0018/Testclass2.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0018; 2 | 3 | public class Testclass2 { 4 | 5 | @SuppressWarnings("unused") 6 | private long test1; 7 | 8 | protected void doSomething(){ 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0019/Testclass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0019; 2 | 3 | public abstract class Testclass { 4 | @SuppressWarnings("unused") 5 | private static final String test1=""; 6 | @SuppressWarnings("unused") 7 | private static long long1; 8 | @SuppressWarnings("unused") 9 | private volatile String test2; 10 | @SuppressWarnings("unused") 11 | private transient String test3; 12 | protected final String test4=""; 13 | protected static final String test5=""; 14 | protected static long long2; 15 | protected volatile String test6; 16 | protected transient String test7; 17 | public static final String test8=""; 18 | public static long long3; 19 | public volatile String test9; 20 | public transient String test10; 21 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0020/Testclass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0020; 2 | 3 | public abstract class Testclass { 4 | 5 | public abstract void doSomething(); 6 | public static void doSomething2(){ 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0020/Testinterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0020; 2 | 3 | public interface Testinterface { 4 | public void doSomething(); 5 | void doSomething2(); 6 | default void doSomething3() 7 | { 8 | System.out.println(""); 9 | } 10 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0021/Address.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0021; 2 | 3 | import javax.persistence.Entity; 4 | 5 | @Entity 6 | public class Address { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0021/Employee.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0021; 2 | 3 | import javax.persistence.Id; 4 | import javax.persistence.JoinColumn; 5 | import javax.persistence.ManyToOne; 6 | import javax.persistence.MappedSuperclass; 7 | import javax.persistence.Version; 8 | 9 | @MappedSuperclass 10 | public class Employee { 11 | 12 | @Id 13 | protected Integer empId; 14 | @Version 15 | protected Integer version; 16 | @ManyToOne 17 | @JoinColumn(name = "ADDR") 18 | protected Address address; 19 | 20 | public Integer getEmpId() { 21 | return empId; 22 | } 23 | 24 | public void setEmpId(Integer paramId) { 25 | empId = paramId; 26 | } 27 | 28 | public Address getAddress() { 29 | return address; 30 | } 31 | 32 | public void setAddress(Address paramAddress) { 33 | address = paramAddress; 34 | } 35 | } -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0021/TodoStateEnum.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0021; 2 | 3 | public enum TodoStateEnum { 4 | 5 | OPEN, 6 | CLOSED, 7 | IN_PROGRESS; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0021jakarta/Address.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0021jakarta; 2 | 3 | import jakarta.persistence.Entity; 4 | 5 | @Entity 6 | public class Address { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0021jakarta/TodoStateEnum.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0021jakarta; 2 | 3 | public enum TodoStateEnum { 4 | 5 | OPEN, 6 | CLOSED, 7 | IN_PROGRESS; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0023/BaseAbstractClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0023; 2 | 3 | /** 4 | * The Class BaseAbstractClass. 5 | */ 6 | public class BaseAbstractClass implements BaseInterface { 7 | 8 | /** 9 | * Do something else. 10 | */ 11 | public void doSomethingElse() 12 | { 13 | 14 | } 15 | 16 | /** 17 | * Do something. 18 | */ 19 | public void doSomething() 20 | { 21 | 22 | } 23 | 24 | /** 25 | * Do something with parameter. 26 | * 27 | * @param paramParameter the param parameter 28 | */ 29 | public void doSomethingWithParameter(String paramParameter) 30 | { 31 | 32 | } 33 | 34 | /** 35 | * Do something with return value. 36 | * 37 | * @return the string 38 | */ 39 | public String doSomethingWithReturnValue() 40 | { 41 | return ""; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0023/BaseInterface.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0023; 2 | 3 | /** 4 | * The Interface BaseInterface. 5 | */ 6 | public interface BaseInterface { 7 | 8 | /** 9 | * Do something. 10 | */ 11 | void doSomething(); 12 | 13 | /** 14 | * Do something with parameter. 15 | * 16 | * @param paramParameter the param parameter 17 | */ 18 | void doSomethingWithParameter(String paramParameter); 19 | 20 | /** 21 | * Do something with return value. 22 | * 23 | * @return the string 24 | */ 25 | String doSomethingWithReturnValue(); 26 | 27 | } 28 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0023/ChildA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0023; 2 | 3 | /** 4 | * The Class ChildA. 5 | */ 6 | public class ChildA extends BaseAbstractClass { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0023/ChildB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0023; 2 | 3 | /** 4 | * The Class ChildB. 5 | */ 6 | public class ChildB extends BaseAbstractClass { 7 | 8 | private Util util; 9 | 10 | /** 11 | * Sets the util. 12 | * 13 | * @param paramUtil the param util 14 | */ 15 | public void setUtil(Util paramUtil) 16 | { 17 | util = paramUtil; 18 | } 19 | 20 | /** 21 | * Gets the util. 22 | * 23 | * @return Util - the util 24 | */ 25 | public Util getUtil() 26 | { 27 | return util; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0023/Util.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0023; 2 | 3 | /** 4 | * The Class Util. 5 | */ 6 | public class Util { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/AbstractClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | /** 4 | * The Class AbstractClassB. 5 | */ 6 | public abstract class AbstractClassB { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/AnnotationA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.RetentionPolicy; 7 | import java.lang.annotation.Target; 8 | 9 | /** 10 | * The Interface AnnotationA. 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target(TYPE) 14 | public @interface AnnotationA { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/ClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | import java.util.List; 4 | import java.util.Set; 5 | 6 | /** 7 | * The Class ClassA. 8 | */ 9 | @AnnotationA 10 | public class ClassA implements InterfaceA{ 11 | 12 | /** The aggegate relationship B. */ 13 | @SuppressWarnings("unused") 14 | private List aggegateRelationshipB; 15 | 16 | /** The aggegate relationship C. */ 17 | @SuppressWarnings("unused") 18 | private Set aggegateRelationshipC; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/ClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | /** 4 | * The Class ClassB. 5 | */ 6 | public class ClassB extends AbstractClassB{ 7 | 8 | @SuppressWarnings("unused") 9 | private ClassC classC; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/ClassC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | /** 4 | * The Class ClassC. 5 | */ 6 | public class ClassC { 7 | 8 | /** The class D. */ 9 | final ClassD classD = new ClassD(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/ClassD.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | /** 4 | * The Class ClassD. 5 | */ 6 | public class ClassD { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0024/InterfaceA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0024; 2 | 3 | /** 4 | * The Interface InterfaceA. 5 | */ 6 | public interface InterfaceA { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/AnnotationA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | import static java.lang.annotation.ElementType.TYPE; 4 | 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.RetentionPolicy; 7 | import java.lang.annotation.Target; 8 | 9 | /** 10 | * The Interface AnnotationA. 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target(TYPE) 14 | public @interface AnnotationA { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/InterfaceC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | /** 4 | * The Interface InterfaceC. 5 | */ 6 | public interface InterfaceC { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/SuperClassC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | /** 4 | * The Class SuperClassC. 5 | */ 6 | public abstract class SuperClassC { 7 | 8 | /** The interface C. */ 9 | private InterfaceC interfaceC; 10 | 11 | /** 12 | * Gets the interface C. 13 | * 14 | * @return the interface C 15 | */ 16 | public InterfaceC getInterfaceC() { 17 | return interfaceC; 18 | } 19 | 20 | /** 21 | * Sets the interface C. 22 | * 23 | * @param interfaceC the new interface C 24 | */ 25 | public void setInterfaceC(InterfaceC interfaceC) { 26 | this.interfaceC = interfaceC; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/TestClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | /** 4 | * The Class TestClassA. 5 | */ 6 | @AnnotationA 7 | public class TestClassA { 8 | 9 | /** 10 | * Instantiates a new test class A. 11 | */ 12 | public TestClassA() { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/TestClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | import java.util.List; 4 | 5 | import de.elnarion.test.domain.t0024.ClassA; 6 | 7 | /** 8 | * The Class TestClassB. 9 | */ 10 | public class TestClassB { 11 | 12 | private List listTestClassA; 13 | 14 | @SuppressWarnings("unused") 15 | private ClassA internalField; 16 | 17 | /** 18 | * Instantiates a new test class B. 19 | * 20 | * @param paramTestclA the param testcl A 21 | */ 22 | public TestClassB(TestClassA paramTestclA) { 23 | 24 | } 25 | 26 | public List getListTestClassA() { 27 | return listTestClassA; 28 | } 29 | 30 | public void setListTestClassA(List listTestClassA) { 31 | this.listTestClassA = listTestClassA; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0025/TestClassC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0025; 2 | 3 | /** 4 | * The Class TestClassC. 5 | */ 6 | public class TestClassC extends SuperClassC implements InterfaceC{ 7 | 8 | private TestClassB fieldTestClassB; 9 | 10 | /** 11 | * Gets the test class A. 12 | * 13 | * @param paramTestclassB the param testclass B 14 | * @return the test class A 15 | */ 16 | public TestClassA getTestClassA(TestClassB paramTestclassB) { 17 | return null; 18 | } 19 | 20 | public TestClassB getFieldTestClassB() { 21 | return fieldTestClassB; 22 | } 23 | 24 | public void setFieldTestClassB(TestClassB fieldTestClassB) { 25 | this.fieldTestClassB = fieldTestClassB; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestB { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestC.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestC { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestD.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestD { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestE.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestE { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestF.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestF { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestG.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestG { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0026/TestH.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0026; 2 | 3 | public class TestH { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0027/TestClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0027; 2 | 3 | /** 4 | * The Class TestFieldClass. 5 | */ 6 | public class TestClass { 7 | 8 | private String testString; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028/Light.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028; 2 | 3 | public class Light { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028/Seat.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028; 2 | 3 | public class Seat { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028/Vehicle.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028; 2 | 3 | import javax.validation.constraints.NotEmpty; 4 | import javax.validation.constraints.Size; 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public class Vehicle { 9 | 10 | @Size(min=2, max=6) 11 | private final List wheels = new ArrayList<>(); 12 | 13 | private final List seats = new ArrayList<>(); 14 | 15 | @NotEmpty 16 | private final List lights = new ArrayList<>(); 17 | 18 | public List getWheels() { 19 | return wheels; 20 | } 21 | 22 | @Size(min=1, max=10) 23 | public List getSeats() { 24 | return seats; 25 | } 26 | 27 | public List getLights() { 28 | return lights; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028/Wheel.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028; 2 | 3 | public class Wheel { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028jakarta/Light.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028jakarta; 2 | 3 | public class Light { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028jakarta/Seat.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028jakarta; 2 | 3 | public class Seat { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028jakarta/Vehicle.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028jakarta; 2 | 3 | import jakarta.validation.constraints.NotEmpty; 4 | import jakarta.validation.constraints.Size; 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public class Vehicle { 9 | 10 | @Size(min=2, max=6) 11 | private final List wheels = new ArrayList<>(); 12 | 13 | private final List seats = new ArrayList<>(); 14 | 15 | @NotEmpty 16 | private final List lights = new ArrayList<>(); 17 | 18 | public List getWheels() { 19 | return wheels; 20 | } 21 | 22 | @Size(min=1, max=10) 23 | public List getSeats() { 24 | return seats; 25 | } 26 | 27 | public List getLights() { 28 | return lights; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/domain/t0028jakarta/Wheel.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.domain.t0028jakarta; 2 | 3 | public class Wheel { 4 | } 5 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0001/CallerA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0001; 2 | 3 | public class CallerA { 4 | 5 | CallerB b = new CallerB(); 6 | 7 | public void callSomething() { 8 | b.callSomething(); 9 | b.callSomethingElse(); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0001/CallerB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0001; 2 | 3 | public class CallerB { 4 | 5 | public void callSomething() { 6 | privateMethodCall(); 7 | protectedMethodCall(); 8 | } 9 | 10 | private void protectedMethodCall() { 11 | 12 | } 13 | 14 | private void privateMethodCall() { 15 | 16 | } 17 | 18 | public String callSomethingElse() { 19 | return ""; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0002/CallerClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0002; 2 | 3 | public class CallerClassA extends SuperClassA{ 4 | 5 | public String testSomething() { 6 | super.testSuperClassSomething(); 7 | return null; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0002/CallerClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0002; 2 | 3 | public class CallerClassB extends SuperClassB{ 4 | 5 | @Override 6 | protected void testProtectedSomething() { 7 | testCallerBMethodCall(); 8 | 9 | } 10 | 11 | public void testCallerBMethodCall() { 12 | 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0002/SuperClassA.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0002; 2 | 3 | 4 | public class SuperClassA { 5 | 6 | private SuperClassB superB = new CallerClassB(); 7 | 8 | public void testSuperClassSomething() { 9 | superB.testSuperClassBSomething(); 10 | 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0002/SuperClassB.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0002; 2 | 3 | public abstract class SuperClassB { 4 | 5 | public String testSuperClassBSomething() { 6 | testProtectedSomething(); 7 | return ""; 8 | } 9 | 10 | protected abstract void testProtectedSomething(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0003/MovieService.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0003; 2 | 3 | public class MovieService { 4 | 5 | MovieDAO movieDAO; 6 | 7 | public void doSomeBusiness() { 8 | Movie movie = movieDAO.getMovie((long) 111); 9 | movie.setMovieName("asdfasdfasdf"); 10 | movieDAO.saveMovie(movie); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0003jakarta/MovieService.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0003jakarta; 2 | 3 | import de.elnarion.test.sequence.t0003.Movie; 4 | import de.elnarion.test.sequence.t0003.MovieDAO; 5 | 6 | public class MovieService { 7 | 8 | MovieDAO movieDAO; 9 | 10 | public void doSomeBusiness() { 11 | Movie movie = movieDAO.getMovie((long) 111); 12 | movie.setMovieName("asdfasdfasdf"); 13 | movieDAO.saveMovie(movie); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0004/Controller.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0004; 2 | 3 | public class Controller { 4 | 5 | Model model; 6 | 7 | public void handleEvent(int i) { 8 | model.manipulate(); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0004/Model.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0004; 2 | 3 | public class Model { 4 | 5 | View view; 6 | 7 | public void manipulate() { 8 | view.notifyView(); 9 | } 10 | 11 | public String getData() { 12 | return "asdf"; 13 | 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0004/User.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0004; 2 | 3 | public class User { 4 | 5 | private View view; 6 | 7 | public void interaction() { 8 | view.interact("something"); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0004/View.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0004; 2 | 3 | public class View { 4 | 5 | private Controller controller; 6 | private Model model; 7 | 8 | public void interact(String string) { 9 | controller.handleEvent(222); 10 | } 11 | 12 | public void notifyView() { 13 | model.getData(); 14 | 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0005/CalledClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0005; 2 | 3 | import java.util.Random; 4 | 5 | public class CalledClass { 6 | 7 | Random random = new Random(); 8 | 9 | public void circularSubMethod(){ 10 | if(random.nextBoolean()){ 11 | new SequenceStarterClass().circularStart(); 12 | } 13 | } 14 | 15 | public void circularSubTwoMethod(){ 16 | if(random.nextBoolean()){ 17 | new SequenceStarterClass().circularStart(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/java/de/elnarion/test/sequence/t0005/SequenceStarterClass.java: -------------------------------------------------------------------------------- 1 | package de.elnarion.test.sequence.t0005; 2 | 3 | import java.util.Random; 4 | 5 | public class SequenceStarterClass { 6 | 7 | Random random = new Random(); 8 | 9 | public void startSequence(){ 10 | circularStart(); 11 | } 12 | public void circularStart(){ 13 | if(random.nextBoolean()){ 14 | new CalledClass().circularSubMethod(); 15 | } 16 | else { 17 | new CalledClass().circularSubTwoMethod(); 18 | } 19 | } 20 | 21 | public void recursiveCall(){ 22 | if(random.nextBoolean()){ 23 | recursiveCall(); 24 | } 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0002_class_types.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | abstract class de.elnarion.test.domain.t0002.AbstractClass { 4 | } 5 | 6 | annotation de.elnarion.test.domain.t0002.NormalAnnotation 7 | 8 | class de.elnarion.test.domain.t0002.NormalClass { 9 | } 10 | 11 | enum de.elnarion.test.domain.t0002.NormalEnum { 12 | } 13 | 14 | interface de.elnarion.test.domain.t0002.NormalInterface { 15 | } 16 | 17 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0004_class_fields.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0004.TestFieldClass { 4 | {field} {static} -LOGGER : java.util.logging.Logger 5 | {field} -log : java.util.logging.Logger 6 | {field} -testReference : de.elnarion.test.domain.t0004.TestReference 7 | {field} {static} -testStringStaticPrivate : String 8 | {field} {static} #testStringStaticProtected : String 9 | {field} {static} +testStringStaticPublic : String 10 | {field} {static} ~testStringStaticWithoutVisibility : String 11 | {field} -testStringWithGetter : String 12 | {field} +testStringWithGetterAndSetter : String 13 | {field} -testStringWithSetter : String 14 | {field} #testStringWithVisibilityProtected : String 15 | {field} +testStringWithVisibilityPublic : String 16 | {field} ~testStringWithoutVisibility : String 17 | } 18 | 19 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0006_different_packages.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0006.pck1.ClassA { 4 | } 5 | 6 | class de.elnarion.test.domain.t0006.pck1.ClassB { 7 | } 8 | 9 | class de.elnarion.test.domain.t0006.pck2.ClassC { 10 | } 11 | 12 | de.elnarion.test.domain.t0006.pck1.ClassA --> de.elnarion.test.domain.t0006.pck1.ClassB : classB 13 | de.elnarion.test.domain.t0006.pck1.ClassB --> de.elnarion.test.domain.t0006.pck2.ClassC : classc 14 | 15 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0013_max_visibility_fields_package_private.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0013.Testclass { 4 | {field} ~test2 : long 5 | {field} #test3 : long 6 | {field} +test4 : long 7 | {field} +test5 : long 8 | } 9 | 10 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0013_max_visibility_fields_private.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0013.Testclass { 4 | {field} -test1 : long 5 | {field} ~test2 : long 6 | {field} #test3 : long 7 | {field} +test4 : long 8 | {field} +test5 : long 9 | } 10 | 11 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0013_max_visibility_fields_protected.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0013.Testclass { 4 | {field} #test3 : long 5 | {field} +test4 : long 6 | {field} +test5 : long 7 | } 8 | 9 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0013_max_visibility_fields_public.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0013.Testclass { 4 | {field} +test4 : long 5 | {field} +test5 : long 6 | } 7 | 8 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0014_max_visibility_methods_package_private.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0014.Testclass { 4 | {method} ~doSomething2() : void 5 | {method} #doSomething3() : void 6 | {method} +doSomething4() : void 7 | } 8 | 9 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0014_max_visibility_methods_private.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0014.Testclass { 4 | {method} -doSomething1() : void 5 | {method} ~doSomething2() : void 6 | {method} #doSomething3() : void 7 | {method} +doSomething4() : void 8 | } 9 | 10 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0014_max_visibility_methods_protected.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0014.Testclass { 4 | {method} #doSomething3() : void 5 | {method} +doSomething4() : void 6 | } 7 | 8 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0014_max_visibility_methods_public.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0014.Testclass { 4 | {method} +doSomething4() : void 5 | } 6 | 7 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0015_remove_methods.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0015.Testclass1 { 4 | {field} +testfield : long 5 | } 6 | 7 | class de.elnarion.test.domain.t0015.Testclass2 { 8 | } 9 | 10 | de.elnarion.test.domain.t0015.Testclass1 --> de.elnarion.test.domain.t0015.Testclass2 : testfield2 11 | 12 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0016_remove_fields.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0016.Testclass1 { 4 | {method} +doSomething () : void 5 | } 6 | 7 | class de.elnarion.test.domain.t0016.Testclass2 { 8 | {method} #doSomething () : void 9 | } 10 | 11 | de.elnarion.test.domain.t0016.Testclass1 --> de.elnarion.test.domain.t0016.Testclass2 : testfield2 12 | 13 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0017_blacklist_methods.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0017.Testclass1 { 4 | {field} +testfield : long 5 | } 6 | 7 | class de.elnarion.test.domain.t0017.Testclass2 { 8 | {method} #doSomething () : void 9 | } 10 | 11 | de.elnarion.test.domain.t0017.Testclass1 --> de.elnarion.test.domain.t0017.Testclass2 : testfield2 12 | 13 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0017_blacklist_methods_empty_parameter.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0017.Testclass1 { 4 | {field} +testfield : long 5 | {method} +doSomething1 () : void 6 | } 7 | 8 | 9 | class de.elnarion.test.domain.t0017.Testclass2 { 10 | {method} #doSomething () : void 11 | } 12 | 13 | 14 | 15 | 16 | de.elnarion.test.domain.t0017.Testclass1 --> de.elnarion.test.domain.t0017.Testclass2 : testfield2 17 | 18 | 19 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0018_blacklist_fields.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0018.Testclass1 { 4 | {field} +testfield : long 5 | {method} +doSomething () : void 6 | } 7 | 8 | class de.elnarion.test.domain.t0018.Testclass2 { 9 | {method} #doSomething () : void 10 | } 11 | 12 | de.elnarion.test.domain.t0018.Testclass1 --> de.elnarion.test.domain.t0018.Testclass2 : testfield2 13 | 14 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0019_ignore_classifier_fields.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | abstract class de.elnarion.test.domain.t0019.Testclass { 4 | {field} +test10 : String 5 | {field} -test2 : String 6 | {field} -test3 : String 7 | {field} #test4 : String 8 | {field} #test6 : String 9 | {field} #test7 : String 10 | {field} +test9 : String 11 | } 12 | 13 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0020_ignore_classifier_methods.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | abstract class de.elnarion.test.domain.t0020.Testclass { 4 | {method} {abstract} +doSomething () : void 5 | } 6 | 7 | interface de.elnarion.test.domain.t0020.Testinterface { 8 | {method} {abstract} +doSomething () : void 9 | {method} {abstract} +doSomething2 () : void 10 | {method} +doSomething3 () : void 11 | } 12 | 13 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0020_ignore_multiple_classifier_methods.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | abstract class de.elnarion.test.domain.t0020.Testclass { 4 | } 5 | 6 | 7 | interface de.elnarion.test.domain.t0020.Testinterface { 8 | {method} +doSomething3 () : void 9 | } 10 | 11 | 12 | 13 | 14 | 15 | 16 | @enduml 17 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0022_private_final_field.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | class de.elnarion.test.domain.t0022.TestPrivateFinalObject { 4 | {field} -PRIVATE_CONSTANT : String 5 | {field} -PRIVATE_CONSTANT_INT : int 6 | {field} #PROTECTED_CONSTANT : String 7 | {field} #PROTECTED_CONSTANT_INT : int 8 | {field} +PUBLIC_CONSTANT : String 9 | {field} +PUBLIC_CONSTANT_INT : int 10 | {field} -nonconstant : String 11 | {field} -nonconstant2 : int 12 | {field} #nonconstant2Protected : int 13 | {field} +nonconstant2Public : int 14 | {field} #nonconstantProtected : String 15 | {field} +nonconstantPublic : String 16 | {method} +doSomething () : void 17 | } 18 | 19 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0025_use_short_classnames.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | annotation AnnotationA 4 | 5 | interface InterfaceC { 6 | } 7 | 8 | 9 | abstract class SuperClassC { 10 | } 11 | 12 | 13 | class TestClassA { 14 | } 15 | 16 | 17 | class TestClassB { 18 | {field} -internalField : ClassA 19 | } 20 | 21 | 22 | class TestClassC { 23 | {method} +getTestClassA ( paramTestClassB1 : TestClassB ) : TestClassA 24 | } 25 | 26 | 27 | 28 | 29 | SuperClassC --> InterfaceC : interfaceC 30 | TestClassA -- AnnotationA 31 | TestClassB "1" o-- "0..*" TestClassA : listTestClassA 32 | TestClassC --> TestClassB : fieldTestClassB 33 | TestClassC --|> SuperClassC 34 | TestClassC ..|> InterfaceC 35 | 36 | 37 | @enduml 38 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0027_use_smetana.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | !pragma layout smetana 3 | 4 | class de.elnarion.test.domain.t0027.TestClass { 5 | {field} -testString : String 6 | } 7 | 8 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0028_jakarta_validation_annotations.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | class de.elnarion.test.domain.t0028jakarta.Light { 3 | } 4 | 5 | class de.elnarion.test.domain.t0028jakarta.Seat { 6 | } 7 | 8 | class de.elnarion.test.domain.t0028jakarta.Vehicle { 9 | } 10 | 11 | class de.elnarion.test.domain.t0028jakarta.Wheel { 12 | } 13 | 14 | de.elnarion.test.domain.t0028jakarta.Vehicle "1" o-- "1..*" de.elnarion.test.domain.t0028jakarta.Light : lights 15 | de.elnarion.test.domain.t0028jakarta.Vehicle "1" o-- "1..10" de.elnarion.test.domain.t0028jakarta.Seat : seats 16 | de.elnarion.test.domain.t0028jakarta.Vehicle "1" o-- "2..6" de.elnarion.test.domain.t0028jakarta.Wheel : wheels 17 | 18 | @enduml 19 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/class/0028_javax_validation_annotations.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | class de.elnarion.test.domain.t0028.Light { 3 | } 4 | 5 | class de.elnarion.test.domain.t0028.Seat { 6 | } 7 | 8 | class de.elnarion.test.domain.t0028.Vehicle { 9 | } 10 | 11 | class de.elnarion.test.domain.t0028.Wheel { 12 | } 13 | 14 | de.elnarion.test.domain.t0028.Vehicle "1" o-- "1..*" de.elnarion.test.domain.t0028.Light : lights 15 | de.elnarion.test.domain.t0028.Vehicle "1" o-- "1..10" de.elnarion.test.domain.t0028.Seat : seats 16 | de.elnarion.test.domain.t0028.Vehicle "1" o-- "2..6" de.elnarion.test.domain.t0028.Wheel : wheels 17 | 18 | @enduml 19 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/log4j2.properties: -------------------------------------------------------------------------------- 1 | appender.stdout.type = Console 2 | appender.stdout.name = stdout 3 | 4 | rootLogger.name = rootlogger 5 | rootLogger.level = WARNING 6 | rootLogger.appenderRef.$1.ref = stdout 7 | 8 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0001_basic_caller_test.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | participant CallerA 3 | participant CallerB 4 | 5 | activate CallerA 6 | CallerA -> CallerB : callSomething 7 | activate CallerB 8 | CallerB -> CallerB : privateMethodCall 9 | activate CallerB 10 | CallerB --> CallerB 11 | deactivate CallerB 12 | CallerB -> CallerB : protectedMethodCall 13 | activate CallerB 14 | CallerB --> CallerB 15 | deactivate CallerB 16 | CallerB --> CallerA 17 | deactivate CallerB 18 | CallerA -> CallerB : callSomethingElse 19 | activate CallerB 20 | CallerB --> CallerA 21 | deactivate CallerB 22 | deactivate CallerA 23 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0001_basic_caller_test_with_return_types.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant CallerA 4 | participant CallerB 5 | 6 | activate CallerA 7 | CallerA -> CallerB : callSomething 8 | activate CallerB 9 | CallerB -> CallerB : privateMethodCall 10 | activate CallerB 11 | CallerB --> CallerB : void 12 | deactivate CallerB 13 | CallerB -> CallerB : protectedMethodCall 14 | activate CallerB 15 | CallerB --> CallerB : void 16 | deactivate CallerB 17 | CallerB --> CallerA : void 18 | deactivate CallerB 19 | CallerA -> CallerB : callSomethingElse 20 | activate CallerB 21 | CallerB --> CallerA : String 22 | deactivate CallerB 23 | deactivate CallerA 24 | 25 | @enduml 26 | 27 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0002_basic_super_class_sequence_diagram.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant CallerClassA 4 | participant SuperClassA 5 | participant SuperClassB 6 | 7 | activate CallerClassA 8 | CallerClassA -> SuperClassA : testSuperClassSomething 9 | activate SuperClassA 10 | SuperClassA -> SuperClassB : testSuperClassBSomething 11 | activate SuperClassB 12 | SuperClassB -> SuperClassB : testProtectedSomething 13 | activate SuperClassB 14 | SuperClassB --> SuperClassB 15 | deactivate SuperClassB 16 | SuperClassB --> SuperClassA 17 | deactivate SuperClassB 18 | SuperClassA --> CallerClassA 19 | deactivate SuperClassA 20 | deactivate CallerClassA 21 | 22 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0002_basic_super_class_sequence_diagram_with_hide_super_class.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant CallerClassA 4 | participant SuperClassB 5 | 6 | activate CallerClassA 7 | CallerClassA -> CallerClassA : testSuperClassSomething 8 | activate CallerClassA 9 | CallerClassA -> SuperClassB : testSuperClassBSomething 10 | activate SuperClassB 11 | SuperClassB -> SuperClassB : testProtectedSomething 12 | activate SuperClassB 13 | SuperClassB --> SuperClassB 14 | deactivate SuperClassB 15 | SuperClassB --> CallerClassA 16 | deactivate SuperClassB 17 | CallerClassA --> CallerClassA 18 | deactivate CallerClassA 19 | deactivate CallerClassA 20 | 21 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0004_sequence_diagram_with_blacklisted_classes.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant User 4 | participant View 5 | 6 | activate User 7 | User -> View : interact 8 | activate View 9 | View --> User 10 | deactivate View 11 | deactivate User 12 | 13 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0004_sequence_diagram_with_blacklisted_method.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant User 4 | participant View 5 | participant Controller 6 | participant Model 7 | 8 | activate User 9 | User -> View : interact 10 | activate View 11 | View -> Controller : handleEvent 12 | activate Controller 13 | Controller -> Model : manipulate 14 | activate Model 15 | Model -> View : notifyView 16 | activate View 17 | View --> Model 18 | deactivate View 19 | Model --> Controller 20 | deactivate Model 21 | Controller --> View 22 | deactivate Controller 23 | View --> User 24 | deactivate View 25 | deactivate User 26 | 27 | @enduml 28 | 29 | -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0004_sequence_diagram_with_custom_classloader.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant User 4 | participant View 5 | participant Controller 6 | participant Model 7 | 8 | activate User 9 | User -> View : interact 10 | activate View 11 | View -> Controller : handleEvent 12 | activate Controller 13 | Controller -> Model : manipulate 14 | activate Model 15 | Model -> View : notifyView 16 | activate View 17 | View -> Model : getData 18 | activate Model 19 | Model --> View 20 | deactivate Model 21 | View --> Model 22 | deactivate View 23 | Model --> Controller 24 | deactivate Model 25 | Controller --> View 26 | deactivate Controller 27 | View --> User 28 | deactivate View 29 | deactivate User 30 | 31 | @enduml -------------------------------------------------------------------------------- /plantuml-generator-util/src/test/resources/sequence/0005_sequence_diagram_with_recursive_calls.txt: -------------------------------------------------------------------------------- 1 | @startuml 2 | 3 | participant SequenceStarterClass 4 | 5 | activate SequenceStarterClass 6 | SequenceStarterClass -> SequenceStarterClass : recursiveCall 7 | activate SequenceStarterClass 8 | deactivate SequenceStarterClass 9 | deactivate SequenceStarterClass 10 | 11 | @enduml -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["github>devlauer/renovate-config"] 3 | } 4 | -------------------------------------------------------------------------------- /src/docs/asciidoc/antora.yml: -------------------------------------------------------------------------------- 1 | name: plantuml-generator 2 | title: General 3 | asciidoc: 4 | attributes: 5 | compontentkeywords: "{sitekeywords}" 6 | nav: 7 | - modules/ROOT/nav.adoc -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/_attributes.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devlauer/plantuml-generator/71809b4cb60be7b3f726ab1187b1047b36b7a64c/src/docs/asciidoc/modules/ROOT/_attributes.adoc -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/attachments/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/images/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/nav.adoc: -------------------------------------------------------------------------------- 1 | * xref:index.adoc[Home] 2 | 3 | * Modules 4 | ** xref:plantuml-generator-util:ROOT:index.adoc[PlantUML Generator Utility] 5 | ** xref:plantuml-generator-maven-plugin:ROOT:index.adoc[PlantUML Generator Maven Plugin] -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/pages/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /src/docs/asciidoc/modules/ROOT/partials/_attributes.adoc: -------------------------------------------------------------------------------- 1 | include::../_attributes.adoc[] -------------------------------------------------------------------------------- /src/docs/supplemental-ui/css/site-extra.css: -------------------------------------------------------------------------------- 1 | /* if code is highlighted by prism adds a line number which needs space */ 2 | .doc .listingblock pre:not(.highlight) { 3 | padding-left: 2em; 4 | } 5 | 6 | /* prism adds a toolbar at z-index 10 but that is above the header menu, so we need to lower the z-index */ 7 | div.code-toolbar>.toolbar { 8 | z-index: 1; 9 | } 10 | 11 | /* extend the article with to max 55rem from 46rem */ 12 | .doc { 13 | max-width: 55rem; 14 | } 15 | 16 | /* if the screen is a large one increase sidebar width */ 17 | @media screen and (min-width: 1216px) { 18 | aside.toc.sidebar { 19 | -ms-flex-preferred-size: 15rem; 20 | flex-basis: 15rem; 21 | } 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/docs/supplemental-ui/partials/footer-content.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Copyright © Lauer and individual contributors to PlantUML Generator.

3 |

Except where otherwise noted, PlantUML Generator, its documentation, the PlantUML generator maven plugins and the PlantUML generator utility module, are licensed under the Apache Licence Version 2.0.

4 |
5 | -------------------------------------------------------------------------------- /src/docs/supplemental-ui/partials/footer-scripts.hbs: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{#if env.SITE_SEARCH_PROVIDER}} 4 | {{> search-scripts}} 5 | {{/if}} 6 | -------------------------------------------------------------------------------- /src/docs/supplemental-ui/partials/head-meta.hbs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/javascript/prism-syntax-highlighter.js: -------------------------------------------------------------------------------- 1 | const PrismExtension = { 2 | format (node, lang) { 3 | const nowrap = !(node.getDocument().getAttribute('prewrap')) || (node.isOption('nowrap')) 4 | const dataLine = node.getAttribute('callout-lines') ? ` data-line="${node.getAttribute('callout-lines')}"` : '' 5 | const preClass = ` class="${nowrap ? 'nowrap' : ''}"${dataLine}` 6 | return `${node.getContent()}` 7 | }, 8 | 9 | handlesHighlighting () { 10 | return false 11 | }, 12 | 13 | hasDocinfo() { 14 | return false 15 | } 16 | } 17 | 18 | module.exports = PrismExtension 19 | module.exports.register = function register (registry) { 20 | Opal.Asciidoctor.SyntaxHighlighter.register('prism', PrismExtension) 21 | } 22 | --------------------------------------------------------------------------------