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.onap.policy.rest.adapter;
23 import java.util.List;
25 public class YAMLParams {
27 private String recipe;
28 private String clname;
30 private String timeWindow;
31 private String timeUnits;
32 private String guardActiveStart;
33 private String guardActiveEnd;
34 private List<String> blackList;
35 private List<String> targets;
37 public String getActor() {
40 public void setActor(String actor) {
43 public String getRecipe() {
46 public void setRecipe(String recipe) {
49 public String getLimit() {
52 public void setLimit(String limit) {
55 public String getTimeWindow() {
58 public void setTimeWindow(String timeWindow) {
59 this.timeWindow = timeWindow;
61 public String getGuardActiveStart() {
62 return guardActiveStart;
64 public void setGuardActiveStart(String guardActiveStart) {
65 this.guardActiveStart = guardActiveStart;
67 public String getGuardActiveEnd() {
68 return guardActiveEnd;
70 public void setGuardActiveEnd(String guardActiveEnd) {
71 this.guardActiveEnd = guardActiveEnd;
73 public List<String> getBlackList() {
76 public void setBlackList(List<String> blackList) {
77 this.blackList = blackList;
79 public String getClname() {
82 public void setClname(String clname) {
85 public String getTimeUnits() {
88 public void setTimeUnits(String timeUnits) {
89 this.timeUnits = timeUnits;
91 public List<String> getTargets() {
94 public void setTargets(List<String> targets) {
95 this.targets = targets;