%ZHSLIB.PackageManager.Client.P4Workspace.PackageService

class %ZHSLIB.PackageManager.Client.P4Workspace.PackageService extends %ZHSLIB.PackageManager.Client.Filesystem.PackageService

Property Inventory

Method Inventory

Properties

property FileSpec as %String [ ReadOnly ];
Property methods: FileSpecDisplayToLogical(), FileSpecGet(), FileSpecIsValid(), FileSpecLogicalToDisplay(), FileSpecLogicalToOdbc(), FileSpecNormalize()
property P4Workspace as %ZHSLIB.PackageManager.Client.P4Workspace;
Property methods: P4WorkspaceGet(), P4WorkspaceGetObject(), P4WorkspaceGetObjectId(), P4WorkspaceGetSwizzled(), P4WorkspaceIsValid(), P4WorkspaceNewObject(), P4WorkspaceSet(), P4WorkspaceSetObject(), P4WorkspaceSetObjectId(), P4WorkspaceUnSwizzle()

Methods

classmethod CreateForWorkspace(pWorkspace As %ZHSLIB.PackageManager.Client.P4Workspace) as %ZHSLIB.PackageManager.Client.P4Workspace.PackageService [ Language = objectscript ]
classmethod GetDepotPathFromLocalPath(pLocalPath As %String) as %String [ Language = objectscript ]
classmethod GetLocalPathFromDepotPath(pDepotPath As %String) as %String [ Language = objectscript ]
method GetModule(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method GetModuleDirectory(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %String [ Language = objectscript ]
method HandlePerforceError(pSC As %Status) as %Status [ Language = objectscript ]
Attempts to determine if pSC occurred due to Perforce becoming unavailable. Returns $$$OK if Perforce was available previously and no longer is, and pSC otherwise.
method IsAvailable() as %Boolean [ Language = objectscript ]
For run-time checks to ensure the service is available before attempting to invoke it. Always returns true, although also checks to see whether Perforce or the local filesystem should be used.
method PerforceIsAvailable() as %Boolean [ Language = objectscript ]

Inherited Members

Inherited Methods

Feedback