commit | d0598ee4edd96b952e5b4af0f0ad6107ecb2ca8f | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Tue Dec 20 18:11:34 2016 -0800 |
committer | Pier Luigi Ventre <pierluigi.ventre@cnit.it> | Thu Dec 22 19:14:20 2016 +0000 |
tree | 772a4b44d8391a375b3459018c431c5f44b37b89 | |
parent | ed55ecf25a18bbc586774d49e2ac855e0e079d46 [diff] |
toString for PartialFailureConstraint - for better representation on CLI, etc. Change-Id: I8575608832f7c97ee6123ddd8d217d02d35d3bb7
diff --git a/core/api/src/main/java/org/onosproject/net/intent/constraint/PartialFailureConstraint.java b/core/api/src/main/java/org/onosproject/net/intent/constraint/PartialFailureConstraint.java index 5c00d06..ec43e08 100644 --- a/core/api/src/main/java/org/onosproject/net/intent/constraint/PartialFailureConstraint.java +++ b/core/api/src/main/java/org/onosproject/net/intent/constraint/PartialFailureConstraint.java
@@ -48,4 +48,9 @@ } return false; } + + @Override + public String toString() { + return "PartialFailureConstraint"; + } }