X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=PolicyEngineUtils%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fapi%2FPDPNotification.java;h=caee7e301dc939d6e45698f552fa594aade9c21b;hp=a88ec06cbb405aaaff47b9cba27ac1711ef587b4;hb=e9b8aa0223e6f042c0533176ae8222fb061852de;hpb=073cc188efe9abb4c010cf674e34e2cf46ef1c52 diff --git a/PolicyEngineUtils/src/main/java/org/onap/policy/api/PDPNotification.java b/PolicyEngineUtils/src/main/java/org/onap/policy/api/PDPNotification.java index a88ec06cb..caee7e301 100644 --- a/PolicyEngineUtils/src/main/java/org/onap/policy/api/PDPNotification.java +++ b/PolicyEngineUtils/src/main/java/org/onap/policy/api/PDPNotification.java @@ -2,14 +2,14 @@ * ============LICENSE_START======================================================= * PolicyEngineUtils * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -23,30 +23,30 @@ package org.onap.policy.api; import java.util.Collection; /** - * Defines the Notification event sent from PDP to Client PEP. - * + * Defines the Notification event sent from PDP to Client PEP. + * * @version 0.2 */ public interface PDPNotification { - /** - * Gets the Collection of {@link org.onap.policy.api.RemovedPolicy} objects received. - * - * @return the Collection which consists of RemovedPolicy objects. - */ - public Collection getRemovedPolicies(); - - /** - * Gets the Collection of {@link org.onap.policy.api.LoadedPolicy} objects receieved. - * - * @return the Collection which consists of UpdatedPolicy objects. - */ - public Collection getLoadedPolicies(); - - /** - * Gets the NotificationType of {@link org.onap.policy.api.NotificationType} received. - * - * @return NotificationType associated with this PDPNotification - */ - public NotificationType getNotificationType(); - + + /** + * Gets the Collection of {@link org.onap.policy.api.RemovedPolicy} objects received. + * + * @return the Collection which consists of RemovedPolicy objects. + */ + Collection getRemovedPolicies(); + + /** + * Gets the Collection of {@link org.onap.policy.api.LoadedPolicy} objects receieved. + * + * @return the Collection which consists of UpdatedPolicy objects. + */ + Collection getLoadedPolicies(); + + /** + * Gets the NotificationType of {@link org.onap.policy.api.NotificationType} received. + * + * @return NotificationType associated with this PDPNotification + */ + NotificationType getNotificationType(); }