Represents one repository app that another app depends on, identified by app id and an optional branch or version, with a flag for whether the dependency only applies in the admin domain. Instances are produced by DependencyService and RepositoryApp.getDependencies from an app's deps.xml, and by DependencyMappingBuilder when building a dependency list programmatically. Written as a dependency element in deps.xml, carrying the app id, an optional branch or version, and an adminOnly flag.

Group: App Definitions


Properties

PropertyReturnsDescription
adminOnlybooleanWhether this dependency only applies in the admin domain, rather than on website branches.
appIdStringThe id of the app this dependency refers to.
versionStringThe branch or version of the dependent app that is required. Null means always take the highest available version.

Methods

getAppId()

Returns: String

The id of the app this dependency refers to.

getVersion()

Returns: String

The branch or version of the dependent app that is required. Null means always take the highest available version.

isAdminOnly()

Returns: boolean

Whether this dependency only applies in the admin domain, rather than on website branches.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.