Merge "Reorder modifiers"
[so.git] / adapters / mso-adapter-utils / src / main / java / org / openecomp / mso / adapters / vdu / PluginAction.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  *\r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  *\r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.adapters.vdu;\r
22 \r
23 /**\r
24  * Java beam representing a detailed action performed within a plugin during VDU\r
25  * orchestration. This allows the plugin to convey more detailed information about\r
26  * recent activities it has performed.  It is primarily intended for logging and\r
27  * troubleshooting, so plugins are free to populate this as desired.\r
28  */\r
29 public class PluginAction {\r
30         \r
31         private String action;  \r
32         private String status;\r
33         private String rawMessage;      \r
34         \r
35         public PluginAction () {\r
36         }\r
37         \r
38         public PluginAction (String action, String status, String rawMessage) {\r
39                 this.action = action;\r
40                 this.status = status;\r
41                 this.rawMessage = rawMessage;\r
42         }\r
43         \r
44         public String getAction() {\r
45                 return action;\r
46         }\r
47         public void setAction(String action) {\r
48                 this.action = action;\r
49         }\r
50         public String getStatus() {\r
51                 return status;\r
52         }\r
53         public void setStatus(String status) {\r
54                 this.status = status;\r
55         }\r
56         public String getRawMessage() {\r
57                 return rawMessage;\r
58         }\r
59         public void setRawMessage(String rawMessage) {\r
60                 this.rawMessage = rawMessage;\r
61         }\r
62         \r
63 }