2 * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.openflowplugin.applications.frm;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.GroupActionCase;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.ApplyActionsCase;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.WriteActionsCase;
15 public enum ActionType {
16 APPLY_ACTION(ApplyActionsCase.class),
17 GROUP_ACTION(GroupActionCase.class),
18 WRITE_ACTION(WriteActionsCase.class);
20 private Class<?> actionType;
22 ActionType(Class<?> applyActionsCaseClass) {
23 this.actionType = applyActionsCaseClass;
26 public Class<?> getActionType() {