2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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 * ============LICENSE_END=========================================================
23 package org.onap.appc.adapter.iaas.provider.operation.common.enums;
25 * @since September 26, 2016
27 public enum Operation {
30 public String toString() {
31 return "evacuateServer";
36 public String toString() {
37 return "migrateServer";
42 public String toString() {
43 return "rebuildServer";
48 public String toString() {
49 return "restartServer";
52 VMSTATUSCHECK_SERVICE {
54 public String toString() {
55 return "vmStatuschecker";
60 public String toString() {
61 return "createSnapshot";
66 public String toString() {
67 return "terminateStack";
72 public String toString() {
73 return "snapshotStack";
78 public String toString() {
84 public String toString() {
90 public String toString() {
91 return "terminateServer";
96 public String toString() {
97 return "lookupServer";
102 public String toString() {
103 return "restoreStack";
106 ATTACHVOLUME_SERVICE {
108 public String toString(){
109 return "attachVolume";
112 DETACHVOLUME_SERVICE {
114 public String toString(){
115 return "dettachVolume";