Merge "Increase test coverage for plugins-executor-jruby"
[policy/apex-pdp.git] / model / model-api / src / main / java / org / onap / policy / apex / model / modelapi / impl / CreatePolicyStateTaskRefBuilder.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.apex.model.modelapi.impl;
22
23 public class CreatePolicyStateTaskRefBuilder {
24     private String name;
25     private String version;
26     private String stateName;
27     private String taskLocalName;
28     private String taskName;
29     private String taskVersion;
30     private String outputType;
31     private String outputName;
32
33     public String getName() {
34         return name;
35     }
36
37     public String getVersion() {
38         return version;
39     }
40
41     public String getStateName() {
42         return stateName;
43     }
44
45     public String getTaskLocalName() {
46         return taskLocalName;
47     }
48
49     public String getTaskName() {
50         return taskName;
51     }
52
53     public String getTaskVersion() {
54         return taskVersion;
55     }
56
57     public String getOutputType() {
58         return outputType;
59     }
60
61     public String getOutputName() {
62         return outputName;
63     }
64
65     public CreatePolicyStateTaskRefBuilder setName(String name) {
66         this.name = name;
67         return this;
68     }
69
70     public CreatePolicyStateTaskRefBuilder setVersion(String version) {
71         this.version = version;
72         return this;
73     }
74
75     public CreatePolicyStateTaskRefBuilder setStateName(String stateName) {
76         this.stateName = stateName;
77         return this;
78     }
79
80     public CreatePolicyStateTaskRefBuilder setTaskLocalName(String taskLocalName) {
81         this.taskLocalName = taskLocalName;
82         return this;
83     }
84
85     public CreatePolicyStateTaskRefBuilder setTaskName(String taskName) {
86         this.taskName = taskName;
87         return this;
88     }
89
90     public CreatePolicyStateTaskRefBuilder setTaskVersion(String taskVersion) {
91         this.taskVersion = taskVersion;
92         return this;
93     }
94
95     public CreatePolicyStateTaskRefBuilder setOutputType(String outputType) {
96         this.outputType = outputType;
97         return this;
98     }
99
100     public CreatePolicyStateTaskRefBuilder setOutputName(String outputName) {
101         this.outputName = outputName;
102         return this;
103     }
104 }