package org.onap.policy.pap.main.notification;
import java.util.Set;
+import lombok.AllArgsConstructor;
import org.onap.policy.models.base.PfModelException;
import org.onap.policy.models.pap.concepts.PolicyNotification;
import org.onap.policy.models.provider.PolicyModelsProvider;
/**
* Notifier for completion of policy updates.
*/
+@AllArgsConstructor
public class PolicyNotifier {
private static final Logger logger = LoggerFactory.getLogger(PolicyNotifier.class);
private final PolicyModelsProviderFactoryWrapper daoFactory;
-
- /**
- * Constructs the object. Loads all deployed policies into the internal cache.
- *
- * @param publisher notification publisher
- * @param daoFactory factory used to load policy deployment data from the DB
- */
- public PolicyNotifier(Publisher<PolicyNotification> publisher, PolicyModelsProviderFactoryWrapper daoFactory) {
-
- this.publisher = publisher;
- this.daoFactory = daoFactory;
- }
-
/**
* Processes a response from a PDP.
*