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