2 * ============LICENSE_START=======================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
24 package org.onap.appc.adapter.iaas.provider.operation.common.enums;
26 * @since September 26, 2016
28 public enum Operation {
31 public String toString() {
32 return "evacuateServer";
37 public String toString() {
38 return "migrateServer";
43 public String toString() {
44 return "rebuildServer";
49 public String toString() {
50 return "restartServer";
53 VMSTATUSCHECK_SERVICE {
55 public String toString() {
56 return "vmStatuschecker";
61 public String toString() {
62 return "createSnapshot";
67 public String toString() {
68 return "terminateStack";
73 public String toString() {
74 return "snapshotStack";
79 public String toString() {
85 public String toString() {
91 public String toString() {
92 return "terminateServer";
97 public String toString() {
98 return "lookupServer";
103 public String toString() {
104 return "restoreStack";
107 ATTACHVOLUME_SERVICE {
109 public String toString(){
110 return "attachVolume";
113 DETACHVOLUME_SERVICE {
115 public String toString(){
116 return "dettachVolume";