Open issues

Add configurable system of converters

Description

This need was originally briefly described in CONFOUND-15. In that ticket we automatically convert among different-sized but compatible primitive numbers (e.g. int and long). Then in we are converting String to Path when that type is requested.

We need a general system of configurable converters for configurations. There are several details still undecided and need consideration:

  • Do we put the converters in Confound or in Ploop? (Probably Ploop.)

  • How are the converters registered—in a Configuration, or in some registration object, e.g. from Ploop?

  • Do we revamp the AbstractStringConfiguration to use this converter framework?

  • Do we including some Ploop reflection facility that knows about valueOf etc. and would work even with new, unregistered types that would have expected static factory method patterns?

Environment

None

Status

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Priority

Major