Skip to main content


class %ZHSLIB.PackageManager.Developer.Archive extends %ZHSLIB.PackageManager.Developer.IConfigurable

Method Inventory


parameter DESCRIPTION = Archive Creation/Extraction;
A string to show in the grouping of settings for this class
parameter SETTINGS = JavaHome:JAVA_HOME directory; required for creating or extracting package archive files (retrieved from or sent to non-filesystem-based repositories).;
A delimited string in the format: Key:Description[|Key:Description...]


classmethod ClearSettingValue(pName As %String) as %Status
Inherited description: Clears value of setting pName
classmethod Create(pSourceDirectory As %String, pArchiveFileName As %String, Output pOutput) as %Status
Creates an archive with the contents of pSourceDirectory in pArchiveFileName
classmethod Extract(pArchiveFileName As %String, pTargetDirectory As %String, Output pOutput) as %Status
Extracts the contents of pArchiveFileName into pTargetDirectory
classmethod GetJarCommand(Output pCommand As %String = "") as %Status
classmethod GetSettingValue(pName As %String) as %String
Inherited description: Clears value of setting pName
classmethod RunCommandViaZF(pCmd As %String, Output pLogOutput, Output pErrOutput, pTimeout As %Integer = 10, Output pRetCode As %String) as %Status
Copied from %Net.Remote.Utility:RunCommandViaCPIPE and modified slightly to fit these purposes: Run a command using $ZF(-1) and an external temporary file to store the command output.
If pDeleteTempFile is 0 (false), the temporary file is not deleted; in this case, it is up to the caller to delete it when done with it.
classmethod SetSettingValue(pName As %String, pValue As %String) as %Status
Inherited description: Sets setting pName to pValue. Should return an error %Status if pValue is invalid.
classmethod SettingIsDefined(pName As %String) as %Boolean
Inherited description: Returns true if a value is defined for setting pName.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab