class %ZHSLIB.PackageManager.Developer.Processor.JavaLibrary extends %ZHSLIB.PackageManager.Developer.Processor.Abstract

Property Inventory (Including Private)

Method Inventory (Including Private)


parameter ATTRIBUTES = groupId,artifactId,version;
Comma-separated list of resource attribute names that this processor uses
parameter DESCRIPTION = Configures a Java library for use within IRIS. Fetches specified version from Artifactory and configures Object Gateway connection.;
Description of resource processor class (shown in UI)


property artifactId as %String;
Name of the jar, eg. "fhirserver".
Property methods: artifactIdDisplayToLogical(), artifactIdGet(), artifactIdIsValid(), artifactIdLogicalToDisplay(), artifactIdLogicalToOdbc(), artifactIdNormalize(), artifactIdSet()
property groupId as %String;
Unique identifier for Java project, eg. "com.intersystems.hs".
Property methods: groupIdDisplayToLogical(), groupIdGet(), groupIdIsValid(), groupIdLogicalToDisplay(), groupIdLogicalToOdbc(), groupIdNormalize(), groupIdSet()
property version as %String;
Version of Java Library to run.
Property methods: versionDisplayToLogical(), versionGet(), versionIsValid(), versionLogicalToDisplay(), versionLogicalToOdbc(), versionNormalize(), versionSet()


private method FetchLatestJAR(ByRef pArtifactory, pVerbose As %Boolean) as %String [ Language = objectscript ]
Will first make a request for the POM file, because it's only a few KB. If it finds that there's a new version, only then will it send off a request for the full JAR, with dependencies. Released Java library versions won't ever be updated, but snapshot versions can have many iterations published under the same snapshot. That's why we always need to be checking to make sure the snapshot hasn't had a new deployment published. pArtifactory is a multidimensional object that's expected to have at least: pArtifactory("Server") - artifactory server host PArtifactory("Port") - artifactory server port pArtifactory("Java","SnapshotPath") - URL path prefix for snapshot versions pArtifactory("Java","ReleasePath") - URL path prefix for release versions
method OnAfterPhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnGetUniqueName(Output pUniqueName) [ Language = objectscript ]
Inherited description: 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)

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)