Skip to content
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

feat: enhance enums to have from*(String) methods #561

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

jeremylong
Copy link
Contributor

Version and Format should have from*(String) methods to allow conversion from String values to the enum values.

@jeremylong jeremylong requested a review from a team as a code owner December 3, 2024 13:50
@nscuro nscuro added this to the 10.0.0 milestone Dec 3, 2024
@nscuro nscuro added the enhancement New feature or request label Dec 3, 2024
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.08% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (3768a15) 6343 4729 74.55%
Head commit (b9d62c0) 6358 (+15) 4745 (+16) 74.63% (+0.08%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#561) 15 15 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@nscuro nscuro merged commit 2e3b7af into CycloneDX:master Dec 3, 2024
8 checks passed
@jeremylong jeremylong deleted the enhanceEnums branch December 3, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants