Class DeploymentPackage

    • Constructor Detail

      • DeploymentPackage

        public DeploymentPackage()
      • DeploymentPackage

        public DeploymentPackage​(Deployable... deployables)
        Parameters:
        deployables - The Deployables that are part of this package.
    • Method Detail

      • getTemplates

        public java.util.Set<Template> getTemplates()
      • setTemplates

        public void setTemplates​(java.util.Set<Template> templates)
      • getBoundTemplates

        public java.util.Set<Template> getBoundTemplates()
      • setBoundTemplates

        public void setBoundTemplates​(java.util.Set<Template> boundTemplates)
      • setDeployables

        public void setDeployables​(java.util.Set<Deployable> deployables)
        Parameters:
        deployables - The set of Deployables that are part of this package.
      • addDeployable

        public void addDeployable​(Deployable deployable)
        Adds a Deployable The set of Deployables that are part of this package.
      • getApplicationDependencies

        public java.util.Map<java.lang.String,​java.lang.String> getApplicationDependencies()
        Gets the application versions that the this package depends on. This is a mapping from application names or id's to version ranges. A version range is a string in OSGi Semantic Versioning format.
        Returns:
        a Map<String, String>
      • setApplicationDependencies

        public void setApplicationDependencies​(java.util.Map<java.lang.String,​java.lang.String> applicationDependencies)
        Sets the application versions that this package depends on. This is a mapping from application names or id's (e.g. "Application/PetClinic") to version ranges. A version range is a string in OSGi Semantic Versioning format, e.g. "[1.5,3)"
        Parameters:
        applicationDependencies - the map of dependencies for this application version.
      • getDependencyResolution

        public java.lang.String getDependencyResolution()
      • setDependencyResolution

        public void setDependencyResolution​(java.lang.String dependencyResolution)
      • getUndeployDependencies

        public java.lang.String getUndeployDependencies()
      • setUndeployDependencies

        public void setUndeployDependencies​(java.lang.String undeployDependencies)