Merge of new rebased code
[appc.git] / appc-adapters / appc-iaas-adapter / appc-iaas-adapter-bundle / src / main / java / org / openecomp / appc / adapter / iaas / provider / operation / common / enums / Operation.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : APP-C
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.openecomp.appc.adapter.iaas.provider.operation.common.enums;
23
24 /**
25  * @since September 26, 2016
26  */
27 public enum Operation {
28     EVACUATE_SERVICE {
29         public String toString(){
30             return "evacuateServer";
31         }
32     },
33     MIGRATE_SERVICE {
34         public String toString(){
35             return "migrateServer";
36         }
37     },
38     REBUILD_SERVICE {
39         public String toString(){
40             return "rebuildServer";
41         }
42     },
43     RESTART_SERVICE {
44         public String toString(){
45             return "restartServer";
46         }
47     },
48     VMSTATUSCHECK_SERVICE {
49         public String toString(){
50             return "vmStatuschecker";
51         }
52     },
53     SNAPSHOT_SERVICE {
54         public String toString(){
55             return "createSnapshot";
56         }
57     },
58     TERMINATE_STACK {
59         public String toString(){
60             return "terminateStack";
61         }
62     },
63     SNAPSHOT_STACK {
64         public String toString(){
65             return "snapshotStack";
66         }
67     },
68     START_SERVICE {
69         public String toString(){
70             return "startServer";
71         }
72     },
73     STOP_SERVICE {
74         public String toString(){
75             return "stopServer";
76         }
77     },
78     TERMINATE_SERVICE {
79         public String toString(){
80             return "terminateServer";
81         }
82     },
83     LOOKUP_SERVICE {
84         public String toString(){
85             return "lookupServer";
86         }
87     },
88     RESTORE_STACK{
89         public String toString(){
90             return "restoreStack";
91         }
92     }
93 }