X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Faction%2FAction.java;h=1ff7ea1444052e84d36e4cf80b440ad9159cd01f;hb=43767bb962ade9659c8aa7eb0e02d412a7a54db2;hp=a1bf55ddaf54f519b22504eb0a18c2068216c03d;hpb=fc3bc1cbafe52f15e03b8b7ff7d69a4d43ffe809;p=controller.git diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/Action.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/Action.java index a1bf55ddaf..1ff7ea1444 100644 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/Action.java +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/Action.java @@ -8,28 +8,22 @@ package org.opendaylight.controller.sal.action; -import java.io.Serializable; - import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlTransient; +import java.io.Serializable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; + /** * Represents the generic action to be applied to the matched * frame/packet/message */ @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) -@XmlSeeAlso({ Controller.class, Drop.class, Flood.class, FloodAll.class, HwPath.class, Loopback.class, Output.class, - PopVlan.class, PushVlan.class, SetDlDst.class, SetDlSrc.class, SetDlType.class, SetNwDst.class, SetNwSrc.class, - SetNwTos.class, SetTpDst.class, SetTpSrc.class, SetVlanCfi.class, SetVlanId.class, SetVlanPcp.class, - SwPath.class }) public abstract class Action implements Serializable { private static final long serialVersionUID = 1L; private static final Logger logger = LoggerFactory.getLogger(Action.class); @@ -43,11 +37,6 @@ public abstract class Action implements Serializable { public Action() { } - /* - * public Action (ActionType type, Object value) { this.type = type; - * this.value = value; this.isValid = true; } - */ - /** * Checks if the passed value is in the valid range for this action *