Class State

    • Constructor Detail

      • State

        public State()
    • Method Detail

      • getLastModified

        public Long getLastModified​(long bundleId)
      • setLastModified

        public void setLastModified​(long bundleId,
                                    long lastModified)
      • removeLastModified

        public void removeLastModified​(long bundleId)
      • getConfigAdminBundleId

        public Long getConfigAdminBundleId​(long bundleId)
      • setConfigAdminBundleId

        public void setConfigAdminBundleId​(long bundleId,
                                           long lastModified)
      • removeConfigAdminBundleId

        public void removeConfigAdminBundleId​(long bundleId)
      • getKnownBundleIds

        public Set<Long> getKnownBundleIds()
      • getInitialHashes

        public Set<String> getInitialHashes()
      • setInitialHashes

        public void setInitialHashes​(Set<String> value)
      • addAll

        public void addAll​(String pid,
                           ConfigList configs)
        Add all configurations for a pid
        Parameters:
        pid - The pid
        configs - The list of configurations
      • checkEnvironments

        public void checkEnvironments​(long bundleId)
        Mark all configurations from that bundle as changed to reprocess them
        Parameters:
        bundleId - The bundle id
      • getBundleIdsUsingConfigAdmin

        public Set<Long> getBundleIdsUsingConfigAdmin()