%ZHSLIB.PackageManager.Developer.Archive

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

Method Inventory (Including Private)

Parameters

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...]

Methods

classmethod ClearSettingValue(pName As %String) as %Status [ Language = objectscript ]
Inherited description: Clears value of setting pName
classmethod Create(pSourceDirectory As %String, pArchiveFileName As %String, Output pOutput) as %Status [ Language = objectscript ]
Creates an archive with the contents of pSourceDirectory in pArchiveFileName
classmethod Extract(pArchiveFileName As %String, pTargetDirectory As %String, Output pOutput) as %Status [ Language = objectscript ]
Extracts the contents of pArchiveFileName into pTargetDirectory
classmethod GetJarCommand(Output pCommand As %String = "") as %Status [ Language = objectscript ]
classmethod GetSettingValue(pName As %String) as %String [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
Inherited description: Sets setting pName to pValue. Should return an error %Status if pValue is invalid.
classmethod SettingIsDefined(pName As %String) as %Boolean [ Language = objectscript ]
Inherited description: Returns true if a value is defined for setting pName.

Inherited Members

Inherited Methods (Including Private)

Feedback