CloudSlang/cs-actions

View on GitHub
cs-xml/src/main/java/io/cloudslang/content/xml/entities/ActionType.java

Summary

Maintainability
A
0 mins
Test Coverage
/*
 * Copyright 2022-2024 Open Text
 * This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0 which accompany this distribution.
 *
 * The Apache License is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */



package io.cloudslang.content.xml.entities;

import io.cloudslang.content.xml.utils.Constants;

/**
 * Created by moldovas on 7/8/2016.
 */
public enum ActionType {
    delete(Constants.Inputs.DELETE_ACTION),
    insert(Constants.Inputs.INSERT_ACTION),
    append(Constants.Inputs.APPEND_ACTION),
    subnode(Constants.Inputs.SUBNODE_ACTION),
    move(Constants.Inputs.MOVE_ACTION),
    rename(Constants.Inputs.RENAME_ACTION),
    update(Constants.Inputs.UPDATE_ACTION);
    private String value;

    ActionType(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}