Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.ModuleExtract


abstract class %ZHSLIB.PackageManager.Developer.ModuleExtract

Class to extend for the generated class created by %ZHSLIB.PackageManager.Developer.Processor.ModuleExtract. This will generated the method that does version checking.

Method Inventory (Including Private)


parameter ModuleContentsXDataName;
Name of XData block which should contain module contents.
parameter ModuleName;
Name of module.

Methods (Including Private)

classmethod %VersionChecks() [ Language = objectscript ]
Check if module document and module contents in this class are the same. Update version in module document from contents in this class if version in class is higher. NOTE: In production, the contents of this class can never be outdated relative to the contents in the module document because on an upgrade, the version of the module could only have gone up.


FeedbackOpens in a new window