Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vdu / PluginAction.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.adapters.vdu;
22
23 /**
24  * Java beam representing a detailed action performed within a plugin during VDU orchestration. This allows the plugin
25  * to convey more detailed information about recent activities it has performed. It is primarily intended for logging
26  * and troubleshooting, so plugins are free to populate this as desired.
27  */
28 public class PluginAction {
29
30     private String action;
31     private String status;
32     private String rawMessage;
33
34     public PluginAction() {}
35
36     public PluginAction(String action, String status, String rawMessage) {
37         this.action = action;
38         this.status = status;
39         this.rawMessage = rawMessage;
40     }
41
42     public String getAction() {
43         return action;
44     }
45
46     public void setAction(String action) {
47         this.action = action;
48     }
49
50     public String getStatus() {
51         return status;
52     }
53
54     public void setStatus(String status) {
55         this.status = status;
56     }
57
58     public String getRawMessage() {
59         return rawMessage;
60     }
61
62     public void setRawMessage(String rawMessage) {
63         this.rawMessage = rawMessage;
64     }
65
66 }