"Znlpi_resource" class

Description

Owner: Znlpi_manager

Objects of this class represent resources available in NLPI. For Python the are anonymous; from dtml they are accessed by reference symbol in the Znlpi_manager.Znlpi_resources dictionary.

Any method available is per default one of Znlpi_baseMethods. Each resource is free to override any of them.

A base resource is a resource with empty needs-list which means that it is not dependent from any other resource. Most of the base resource don't have a non-base method because its actualizing process is outside of the scope of NLPI (e.g. 'iclFile').

However, some base resources have non-base methods. This happens e.g. when only a Zcode file is given by the user instead of an icl file: the needs list of 'zcodeGameCodeFile' gets emptied by Znlpi_manager.Znlpi_removeResource(). In this case the method mus not produce any output but notify with true/false wether it has dome something or not.

Used classes:

Attributes: