Clad TODO

From NovaOrdis Knowledge Base
Revision as of 21:45, 17 November 2016 by Ovidiu (talk | contribs) (Created page with "Tactical TODO • Define how users can extend their configuration – the user application will most likely need global options of their own. o An application must declare it...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tactical TODO

• Define how users can extend their configuration – the user application will most likely need global options of their own. o An application must declare its global options so we know the literals (short or long).

Long Term TODO

• Currently we look for classes based on their name (*Command and *ApplicationRuntime). Use annotations or look inside the class for to see if they implement Command or ApplicationRuntime. ApplicationRuntime callback should be annotated instead of being interface methods. However, keep the framework backward compatible, old API users should keep working. o In order to find the ApplicationRuntime, we need to set “application.name” system property. This is awkward, we need to get rid of it. Annotations is probably best.

• Define a configurable convention for a default command if none is specified, if I feel the need. Currently is hardcoded in the application runtime: ApplicationRuntime.getDefaultCommandName(). It’s probably sufficient.