Opened 14 years ago

Last modified 13 years ago

#431 new enhancement

Refactor harvesters

Reported by: heikki Owned by: geonetwork-devel@…
Priority: minor Milestone: Future release
Component: General Version: v2.6.2
Keywords: refactoring, harvesters Cc:

Description

I think there is room for improvement in the Java code of the harvesters, for the following reasons:

  • many lines of code are repeated in almost all harvesters
  • the harvesters have basically either one of two basic structures: with the "aligment" in a separate class, or not
  • the init() method could be an abstract method in AbstractHarvester, improving contract of harvester classes and removing need for reflection when registering them

These improvements will facilitate making changes.

Change History (3)

comment:1 by heikki, 14 years ago

This is related to ticket #349 "Improve harvesting configuration". Jose has started some work for #349 already.

comment:3 by josegar74, 13 years ago

Milestone: v2.7.0Future release
Note: See TracTickets for help on using tickets.