GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [core] Implementation plan for property framework changes · Issue #1432 · pmd/pmd

[core] Implementation plan for property framework changes #1432

New issue
Copy link
New issue
Copy link
Closed
#4380
Closed
[core] Implementation plan for property framework changes#1432
#4380
Copy link
Assignees
oowekyala
Milestone
7.0.0

Description

@oowekyala
oowekyala
opened on Nov 4, 2018
Issue body actions

This issue serves as easy reference for PRs, and as a discussion for the changes described on the wiki. Replaces #1415

Implementation plan

Due on 6.10.0 ✔️ done

  • ([core] First row of deprecations for the properties framework #1420) Deprecate all classes and methods to be removed
  • ([core] Implement PropertyFactory #1470) Introduce a PropertyFactory, a PropertyConstraint, etc to get a property creation API
    that is as capable as the current framework, and source compatible with the 7.0.0 API.
    • This doesn't need to implement anything about PropertyXmlSyntax, and doesn't entail changes to the PropertyDescriptor interface. It could be integrated to the current property framework seamlessly
  • Deprecate all concrete property types, migrate internal usages to use PropertyFactory
    (should allow us to spot some bugs, enrich API, etc):
    • [core] First row of deprecations for the properties framework #1420
      • MethodMultiProperty
      • MethodProperty
      • TypeMultiProperty
      • TypeProperty
      • FileProperty
    • [core] Deprecate IntegerProperty #1485 IntegerProperty
    • [core] Deprecate some more property types #1486
      • DoubleProperty
      • DoubleMultiProperty
      • FloatMultiProperty
      • FloatProperty
      • IntegerMultiProperty
    • [core] Deprecate regex property #1487 RegexProperty
    • [core] Deprecate string property and string multi property #1501
      • StringMultiProperty
      • StringProperty
    • [core] Deprecate boolean properties #1502
      • BooleanMultiProperty
      • BooleanProperty
    • [core] Deprecate enumerated properties #1505
      • EnumeratedMultiProperty
      • EnumeratedProperty
    • [core] Deprecate char and long properties #1506
      • CharacterMultiProperty
      • CharacterProperty
      • LongMultiProperty
      • LongProperty

Due on 7.0.0

  • Removing StatisticalRule is a prerequisite, because its properties can not be converted to the framework
    • [apex] Remove apex statistical rules #1750
    • [java] Remove java statistical rules #1772
    • [core] Remove statistical rule (final step) #2005
  • [core] Update remaining properties to use PropertyFactory #2450

Remaining tasks

Probably for PMD 7

  • [core] Remove deprecated property concrete classes #4301
  • [doc] Document new property framework #4303
  • [core] Migrate Property Framework API to Java 8 #4302

Postponed

  • [core] Implement blank properties #4304
  • [core] New property syntax in XML #4305
  • [core] Add additional property value validations #4306
  • [core] Turn PropertySource into PropertyBundle #3869
  • [core] Allow numeric properties in XML to be within an unbounded range #1204

Activity

  1. oowekyala
    added a commit that references this issue on Nov 4, 2018

    More deprecations on PropertyDescriptor, relates to pmd#1432

    8823ef5
  2. oowekyala
    self-assigned this
    on Nov 29, 2018
  3. oowekyala
    added this to the 7.0.0 milestone on Jan 6, 2019
  4. adangel
    changed the title [-][core] Discussion & implementation plan for property framework changes[/-] [+][core] Implementation plan for property framework changes[/+] on Jan 11, 2023
  5. adangel commented on Jan 23, 2023

    @adangel
    adangel
    on Jan 23, 2023
    Member
    More actions

    Closing this tracking issue as done. The remaining tasks are either tracked by #3898 or are postponed.

  6. adangel
    closed this as completedon Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @oowekyala
    oowekyala

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 7.0.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.