Class PackageManagerBean

  • All Implemented Interfaces:
    com.composum.sling.core.bean.RestrictedBean, com.composum.sling.core.SlingBean

    public class PackageManagerBean
    extends com.composum.sling.nodes.console.ConsoleSlingBean
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean

        com.composum.sling.core.AbstractSlingBean.NodeClosure
    • Field Summary

      • Fields inherited from class com.composum.sling.core.AbstractSlingBean

        context, queryManager, request, resolver, resource, response, session, sling
    • Constructor Detail

      • PackageManagerBean

        public PackageManagerBean()
    • Method Detail

      • getPath

        public String getPath()
        Specified by:
        getPath in interface com.composum.sling.core.SlingBean
        Overrides:
        getPath in class com.composum.sling.core.AbstractSlingBean
      • getTabType

        public String getTabType()
      • getPathsToVersionsOfThisPackage

        public List<String> getPathsToVersionsOfThisPackage()
        If this is the pseudo-resource denominating a package (without version, /groupname/packagename), this gives the package versions corresponding to it.
      • getPathsToHighestVersionOfEachPackage

        public List<String> getPathsToHighestVersionOfEachPackage()
      • isRegistriesAvailable

        public boolean isRegistriesAvailable()
      • getRegistries

        public Map<String,​String> getRegistries()
        Returns the list of package registry keys to their names if there are registries; empty if that service isn't available.