Skip to content

#372 Move path methods from PropertyReader to PathProvider#537

Merged
ljacqu merged 4 commits into
masterfrom
372-revise-property-reader-methods
Jul 17, 2026
Merged

#372 Move path methods from PropertyReader to PathProvider#537
ljacqu merged 4 commits into
masterfrom
372-revise-property-reader-methods

Conversation

@ljacqu

@ljacqu ljacqu commented Jul 17, 2026

Copy link
Copy Markdown
Member
  • New interface PathProvider with the path enumeration methods that property reader implementations can optionally implement. This way, quick implementations of PropertyReader don't need to worry about that functionality (ConfigMe doesn't need it anywhere)
  • Deprecate #getString, #getInt & similar in favor of reading from the reader via Property instances (or PropertyType)

@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 3 0 0 0.03s
✅ ACTION zizmor 3 0 0 1.59s
✅ JAVA checkstyle 113 0 0 6.5s
✅ MARKDOWN markdownlint 5 0 0 0.83s
✅ MARKDOWN markdown-table-formatter 5 0 0 0.31s
✅ REPOSITORY betterleaks yes no no 1.18s
✅ REPOSITORY checkov yes no no 29.79s
✅ REPOSITORY gitleaks yes no no 1.9s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 58.59s
✅ REPOSITORY osv-scanner yes no no 3.53s
✅ REPOSITORY secretlint yes no no 1.65s
✅ REPOSITORY syft yes no no 1.85s
✅ REPOSITORY trivy yes no no 10.42s
✅ REPOSITORY trivy-sbom yes no no 0.36s
✅ REPOSITORY trufflehog yes no no 3.74s
✅ YAML v8r 6 0 0 4.69s
✅ YAML yamllint 6 0 0 0.7s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,ACTION_ZIZMOR,JAVA_CHECKSTYLE,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@coveralls

coveralls commented Jul 17, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 99.407% (+0.002%) from 99.405% — 372-revise-property-reader-methods into master

@ljacqu
ljacqu merged commit d59f31f into master Jul 17, 2026
14 checks passed
@ljacqu
ljacqu deleted the 372-revise-property-reader-methods branch July 17, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants