Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Processor.Abstract

%ZHSLIB.PackageManager.Developer.Processor.Abstract

abstract class %ZHSLIB.PackageManager.Developer.Processor.Abstract extends %Library.RegisteredObject

Superclass for all classes used to process lifecycle events for resources

Method Inventory

Parameters

parameter ATTRIBUTES;
Comma-separated list of resource attribute names that this processor uses
parameter DESCRIPTION;
Description of resource processor class (shown in UI)

Methods

method ApplyDefaults() [ Language = objectscript ]
classmethod GetAttributeMetadata(Output pMetaArray) as %Status [ Language = objectscript ]
classmethod GetDescription(pClassName As %String) as %String [ Language = objectscript, SQLProc = Abstract_GetDescription ]
method GetSourceControlInfo(Output pInfo As %ZHSLIB.PackageManager.Developer.Extension.SourceControl.ResourceInfo) as %Status [ Language = objectscript ]
method OnAfterPhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnBeforeArtifact(pExportDirectory As %String, pWorkingDirectory As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnBeforePhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnExportItem(pFullExportPath As %String, pItemName As %String, ByRef pItemParams, ByRef pParams, Output pItemHandled As %Boolean = 0) as %Status [ Language = objectscript ]
method OnGetUniqueName(Output pUniqueName) [ Language = objectscript ]
Returns a unique name for this resource. Default implementation, leaving pUniqueName undefined, reverts to default behavior. An empty string indicates guaranteed uniqueness (useful for folders relative to module root)
method OnItemRelativePath(pItemName As %String) as %String [ Language = objectscript ]
Returns the path relative to the module root for item pItemName within this resource.
method OnPhase(pPhase As %String, ByRef pParams, Output pResourceHandled As %Boolean = 0) as %Status [ Language = objectscript ]
Called as phase pPhase is executed for the resource. If pResourceHandled is set to true, then the default behavior for that resource will be bypassed in the current phase. Currently, this is only used in the Verify phase, because of different handling of intermediate error statuses. TODO: Implement for standard database resources (.INC, .CLS, etc.)
method OnResolveChildren(ByRef pResourceArray, pCheckModuleOwnership As %Boolean) as %Status [ Language = objectscript ]
method SatisfiesCondition(pCondition As %ZHSLIB.PackageManager.Developer.ModuleSetting.ProcessorDefault.Condition) as %Boolean [ Language = objectscript ]

Inherited Members

Inherited Methods

Subclasses

FeedbackOpens in a new window