2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.policy.api;
23 import java.util.UUID;
26 * <code>PushPolicyParameters</code> defines the Policy Parameters
27 * which are required to Push a Policy to PDPGroup.
31 public class PushPolicyParameters {
32 private String policyName;
33 private String policyType;
34 private String pdpGroup;
35 private UUID requestID;
38 * Constructor with no Parameters.
40 public PushPolicyParameters(){
44 * Constructor with Parameters.
46 * @param policyName the <code>String</code> format of the Policy Name
47 * @param policyType the <code>String</code> format of the Policy Type
48 * @param pdpGroup the <code>String</code> format of the PDPGroup
49 * @param requestID unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
51 public PushPolicyParameters(String policyName, String policyType, String pdpGroup, UUID requestID){
52 this.policyName = policyName;
53 this.policyType = policyType;
54 this.pdpGroup = pdpGroup;
55 this.requestID = requestID;
59 * Gets the PolicyName of the Push Policy Parameters.
61 * @return policyName the <code>String</code> format of the Policy Name
63 public String getPolicyName() {
68 * Sets the policyName of the Push Policy Parameters.
70 * @param policyName the <code>String</code> format of the Policy Name
72 public void setPolicyName(String policyName) {
73 this.policyName = policyName;
77 * Gets the PolicyType of the Push Policy Parameters.
79 * @return policyType the <code>String</code> format of the Policy Type
81 public String getPolicyType() {
86 * Sets the policyType of the Push Policy Parameters.
88 * @param policyType the <code>String</code> format of the Policy Type
90 public void setPolicyType(String policyType) {
91 this.policyType = policyType;
95 * Gets the PDPGroup of the Push Policy Parameters.
97 * @return pdpGroup the <code>String</code> format of the PDPGroup
99 public String getPdpGroup() {
104 * Sets the PDPGroup of the Push Policy Parameters.
106 * @param pdpGroup the <code>String</code> format of the PDPGroup
108 public void setPdpGroup(String pdpGroup) {
109 this.pdpGroup = pdpGroup;
113 * Gets the requestID of the Push Policy Parameters.
115 * @return unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
117 public UUID getRequestID() {
122 * Sets the requestID of the Push Policy Parameters.
124 * @param requestID unique request ID which will be passed throughout the ECOMP components to correlate logging messages.
126 public void setRequestID(UUID requestID) {
127 this.requestID = requestID;