Class PackageStatusWatcher

    • Constructor Detail

      • PackageStatusWatcher

        public PackageStatusWatcher​(org.apache.sling.distribution.journal.MessagingProvider messagingProvider,
                                    Topics topics)
    • Method Detail

      • getStatus

        public org.apache.sling.distribution.journal.messages.PackageStatusMessage.Status getStatus​(String subAgentName,
                                                                                                    long pkgOffset)
        Gets the status that confirms the package at offset pkgOffset
        Parameters:
        pkgOffset - the offset of the package
        Returns:
        the status confirming the package; or null if it has not been confirmed yet