Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enhancement to switchmanager CLI commands to display all the properties of node and...
[controller.git]
/
opendaylight
/
sal
/
api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
core
/
Actions.java
diff --git
a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java
b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java
index 135a67dcd1cbfdd83a00f5695ab2d18e4833fc9d..7b934edfa78df7ad08cf427545c8d1b3f6f502ff 100644
(file)
--- a/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java
+++ b/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/Actions.java
@@
-23,7
+23,7
@@
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Actions extends Property {
private static final long serialVersionUID = 1L;
@XmlRootElement
public class Actions extends Property {
private static final long serialVersionUID = 1L;
- @XmlElement
+ @XmlElement
(name="value")
private int actionsValue;
public enum ActionType {
private int actionsValue;
public enum ActionType {
@@
-69,6
+69,7
@@
public class Actions extends Property {
this.actionsValue = 0;
}
this.actionsValue = 0;
}
+ @Override
public Actions clone() {
return new Actions(this.actionsValue);
}
public Actions clone() {
return new Actions(this.actionsValue);
}
@@
-104,4
+105,9
@@
public class Actions extends Property {
public String toString() {
return "Actions[" + actionsValue + "]";
}
public String toString() {
return "Actions[" + actionsValue + "]";
}
+
+ @Override
+ public String getStringValue() {
+ return Integer.toHexString(actionsValue);
+ }
}
}