persistent class %IPM.Repo.Filesystem.Definition
extends %IPM.Repo.Definition
parameter DISPLAYNAME = "Filesystem";
Display name for this type of repository, shown in the UI and package manager shell.
parameter MONIKER = "filesystem";
Short/logical name for this type of repository, used in the package manager shell as an alternative to the full class name.
parameter MONIKERALIAS = "f,fs";
parameter RootPromptString;
Prompt to use for Root in interactive configuration of this repository type
property Depth
as %Integer [ InitialExpression = 0,Required ];
How many levels of depth to search for module.xml files; 0 indicates unlimited.
property Details
as %String(MAXLEN="");
property Root
as %String(MAXLEN=260) [ Required ];
Root folder on the server filesystem
method AddCacheItem(pModuleFileName As %String, pSubDirectory As %String, Output pName As %String, Output pVersionString As %String)
as %Status
method BuildCache(pPurge As %Boolean = '$$$IsISCWorker, pVerbose As %Integer = 0, pAutoDetectDepth As %Boolean = 0)
as %Status
method GetModuleStreamFromFile(pFilename As %String, Output pStream As %Stream.GlobalCharacter, Output pName As %String, Output pVersion As %String)
as %Status
method GetPackageService()
as %IPM.Repo.IPackageService
Returns a client to interact with this server.
method GetPublishService()
as %IPM.Repo.IPublishService
Returns a client to publish modules/applications to this server.
classmethod OnConfigure(pInstance As %IPM.Repo.Definition, pInteractive As %Boolean = 1, ByRef pModifiers, ByRef pData)
as %Status
Handles modifiers/data attributes provided from the package manager shell.
method RootSet(%val)
as %Status
This is a Set accessor method for the Root property.
index (RootIndex on Root) [Unique];
trigger RootChanged
(BEFORE event UPDATE)Clears the cache if the root is changed.