Optional hint to source control class: which CSP application path do these files map to?
For use cases where the CSPApplication resource processor is too heavy-handed - e.g., /csp/xslt
Of course, this is only relevant for files that need to be copied to a CSP application.
Note that this may be a full CSP file path, not only the name of a CSP application.
Inherited description: This callback method is invoked by the %New() method to
provide notification that a new instance of an object is being created.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call.
When customizing this method, override the arguments with whatever variables and types you expect to receive from %New().
For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status
If instead of returning a %Status code this returns an oref and this oref is a subclass of the current
class then this oref will be the one returned to the caller of %New method.
classmethod NormalizePath(pPath As %String) as %String [ Language = objectscript ]
Adds a trailing slash if there is no extension.
method OnActivate(ByRef pParams) 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 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 OnResolveChildren(ByRef pResourceArray, pCheckModuleOwnership As %Boolean = 1) as %Status [ Language = objectscript ]