Containerization feature of SO
[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
25  * orchestration. This allows the plugin to convey more detailed information about
26  * recent activities it has performed.  It is primarily intended for logging and
27  * troubleshooting, so plugins are free to populate this as desired.
28  */
29 public class PluginAction {
30         
31         private String action;  
32         private String status;
33         private String rawMessage;      
34         
35         public PluginAction () {
36         }
37         
38         public PluginAction (String action, String status, String rawMessage) {
39                 this.action = action;
40                 this.status = status;
41                 this.rawMessage = rawMessage;
42         }
43         
44         public String getAction() {
45                 return action;
46         }
47         public void setAction(String action) {
48                 this.action = action;
49         }
50         public String getStatus() {
51                 return status;
52         }
53         public void setStatus(String status) {
54                 this.status = status;
55         }
56         public String getRawMessage() {
57                 return rawMessage;
58         }
59         public void setRawMessage(String rawMessage) {
60                 this.rawMessage = rawMessage;
61         }
62         
63 }