{"id":16620281,"url":"https://github.com/chrisgleissner/behaim","last_synced_at":"2025-04-05T00:22:21.511Z","repository":{"id":68632253,"uuid":"49606373","full_name":"chrisgleissner/behaim","owner":"chrisgleissner","description":"Java Object Graph Explorer","archived":false,"fork":false,"pushed_at":"2020-10-13T06:44:45.000Z","size":425,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-10T08:44:24.847Z","etag":null,"topics":["builder-pattern","graph","java","visitor-pattern"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisgleissner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-13T22:29:47.000Z","updated_at":"2023-12-01T02:43:32.000Z","dependencies_parsed_at":"2023-05-25T19:30:39.447Z","dependency_job_id":null,"html_url":"https://github.com/chrisgleissner/behaim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgleissner%2Fbehaim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgleissner%2Fbehaim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgleissner%2Fbehaim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisgleissner%2Fbehaim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisgleissner","download_url":"https://codeload.github.com/chrisgleissner/behaim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247267587,"owners_count":20911007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["builder-pattern","graph","java","visitor-pattern"],"created_at":"2024-10-12T02:43:54.342Z","updated_at":"2025-04-05T00:22:21.478Z","avatar_url":"https://github.com/chrisgleissner.png","language":"Java","readme":"# Behaim\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.chrisgleissner/behaim/badge.svg)](https://search.maven.org/artifact/com.github.chrisgleissner/behaim)\n[![Javadocs](https://www.javadoc.io/badge/com.github.chrisgleissner/behaim.svg)](https://www.javadoc.io/doc/com.github.chrisgleissner/behaim)\n[![Build Status](https://travis-ci.org/chrisgleissner/behaim.svg?branch=master)](https://travis-ci.org/ksaua/remock)\n[![Coverage Status](https://coveralls.io/repos/github/chrisgleissner/behaim/badge.svg?branch=master)](https://coveralls.io/github/chrisgleissner/behaim?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/cbf76afcf96f6596583e/maintainability)](https://codeclimate.com/github/chrisgleissner/behaim/maintainability)\n\nBehaim uses Java reflection to explore an domain model up to a configurable recursion depth. The resulting meta data\ncan then be used by pluggable visitors. \n\nAs a proof of concept, Behaim currently comes with a builder visitor that allows for the creation of randomly populated \nobject graphs which may be useful for performance tests.\n\n# Features\n- Multi-threaded graph exploration\n- Re-use of meta data about an already explored object graph\n- Extensible with custom visitors. Already comes with a visitor to create a randomly populated object graph.\n\n# Builder Usage\n\nDefault configuration\n```\nFoo foo = Builder.make(Foo.class);\nCollection\u003cFoo\u003e foos = Builder.make(Foo.class, 100);\n```\n\nCustom configuration\n```\nConfig config = new Config(...);\nFoo foo = Builder.make(Foo.class, config);\nCollection\u003cFoo\u003e foos = Builder.make(Foo.class, config, 100);\n```\n\nRepeated builds\nWhen you need to repeatedly create objects with the same configuration, use the instance make method.\n```\nBuilder builder = new Builder(Foo.class);\nCollection\u003cFoo\u003e foos1 = builder.make(100);\nCollection\u003cFoo\u003e foos2 = builder.make(50);\n```\n\n# FAQ\n\nWhat does Behaim mean?\nMartin Behaim (1459 – 1507) was a German cosmographer, astronomer, geographer and explorer. His [Erdapfel](https://en.wikipedia.org/wiki/Erdapfel) \nfrom 1492 is considered to be the oldest surviving terrestrial globe.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgleissner%2Fbehaim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisgleissner%2Fbehaim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisgleissner%2Fbehaim/lists"}