2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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.onap.policy.rest.adapter;
23 import java.util.List;
25 public class YAMLParams {
27 private String recipe;
28 private String clname;
32 private String timeWindow;
33 private String timeUnits;
34 private String guardActiveStart;
35 private String guardActiveEnd;
36 private List<String> blackList;
37 private List<String> targets;
39 public String getActor() {
42 public void setActor(String actor) {
45 public String getRecipe() {
48 public void setRecipe(String recipe) {
51 public String getLimit() {
54 public void setLimit(String limit) {
58 public String getMin() {
62 public void setMin(String min) {
66 public String getMax() {
70 public void setMax(String max) {
74 public String getTimeWindow() {
77 public void setTimeWindow(String timeWindow) {
78 this.timeWindow = timeWindow;
80 public String getGuardActiveStart() {
81 return guardActiveStart;
83 public void setGuardActiveStart(String guardActiveStart) {
84 this.guardActiveStart = guardActiveStart;
86 public String getGuardActiveEnd() {
87 return guardActiveEnd;
89 public void setGuardActiveEnd(String guardActiveEnd) {
90 this.guardActiveEnd = guardActiveEnd;
92 public List<String> getBlackList() {
95 public void setBlackList(List<String> blackList) {
96 this.blackList = blackList;
98 public String getClname() {
101 public void setClname(String clname) {
102 this.clname = clname;
104 public String getTimeUnits() {
107 public void setTimeUnits(String timeUnits) {
108 this.timeUnits = timeUnits;
110 public List<String> getTargets() {
113 public void setTargets(List<String> targets) {
114 this.targets = targets;