On Wed, 15 Sep 2010, jean.mccormack wrote:

How about having the 'validate_software_name' (actually
call it 'validate' instead) be a checkpoint class method instead? The engine would call this method prior to executing
the checkpoints or even at registration time.

The 'validate' method would do the DOC lookup to validate whatever it wants. So, in the case of validating a software node, it'll lookup the software node name.
My thought had been if we really want to validate the name in multiple places we'd only have to write the code once. But if we think there are other things to potentially validate, then this would be a plus.

I could see whatever semantic validation a checkpoint
desires to go in there as well (beyond what can be done
in the from_xml -- some of it can't be done there).

Alok
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to