-
Notifications
You must be signed in to change notification settings - Fork 4
Register EnvironmentTypes using their classes
#545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
437dd84
Allow registering env types using their `class` - `@Internal` use only.
serhii-lekariev 456a039
Decrease `Production` env type access level.
serhii-lekariev 443fdeb
Fix exception type, add tests.
serhii-lekariev 6760997
Check whether the env type has a parameterless ctor.
serhii-lekariev 7a22182
Merge branch 'master' into stricter-env-api
serhii-lekariev 9b3e077
Fix PMD.
serhii-lekariev d0b36e7
Merge remote-tracking branch 'origin/stricter-env-api' into stricter-…
serhii-lekariev 5453ce2
Fix documentation.
serhii-lekariev b423355
Fix a wrong method call. Tweak the tests so that they check that the …
serhii-lekariev b29fc35
Tweak doc wording.
serhii-lekariev 9b725ed
Fix tests.
serhii-lekariev 0027d3c
Fix warning suppression wording.
serhii-lekariev e7f15bf
Extract a utility.
serhii-lekariev c1da10f
Fix formatting.
serhii-lekariev c5cae0c
Test env type caching.
serhii-lekariev a3e5602
Add a simpler env type caching test. Also `license-report` and `pom`.
serhii-lekariev dd59607
Fix formatting, wording, test declaration ordering. Explain a
serhii-lekariev 252817d
Extract the instantiation utility.
serhii-lekariev 323faeb
Expose a `setTo(Class<? extends EnvironmentType>)`.
serhii-lekariev 90e20b2
`@Internalize` a method.
serhii-lekariev a26cd0c
Fix documentation and naming errors.
serhii-lekariev 7f9655b
Cache the class of the env type instead of its instance.
serhii-lekariev 5d79b22
Fix documentation errors.
serhii-lekariev b317714
Allow non package-private ctors.
serhii-lekariev a812734
Correct documentation errors.
serhii-lekariev 331ca59
Correct docs.
serhii-lekariev 5522e8c
Correct documentation errors.
serhii-lekariev 47ed3bd
Extract utilities.
serhii-lekariev db60efe
Clean up.
serhii-lekariev 044d76e
Mention erasing the registered classes.
serhii-lekariev 38ff164
Fix documentation.
serhii-lekariev aa52481
Update `config`.
serhii-lekariev 431dd04
Extract reflection utils into a single `Invokables` class.
serhii-lekariev 18d3fd1
Add `@throws` documentation.
serhii-lekariev 8c52731
Hide a method that looks for a parameterless constructor. Its users
serhii-lekariev e1a1018
Shorten a method name.
serhii-lekariev 9013ab8
Fix Javadoc mistakes.
serhii-lekariev 0da0c93
Fix Javadoc errors.
serhii-lekariev f67ff1b
Rearrange utitlity methods, fix wording mistakes.
serhii-lekariev 2558a82
Fix a wrong link.
serhii-lekariev e220c60
Add a Javadoc paragraph for a `@Test` method.
serhii-lekariev 6b4f302
`register` an env on `setTo`.
serhii-lekariev 858bd7d
Prefer `register(Class)` over `register(EnvironmentType)` in tests.
serhii-lekariev 459a670
Mention the fact that environment types are registered automatically.
serhii-lekariev 36868c6
Tweak Javadoc wording.
serhii-lekariev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.