commit | f4b99fb7f18f28e5ebc9b3f05a8c59adae639686 | [log] [tgz] |
---|---|---|
author | Yi Tseng <yi@opennetworking.org> | Fri Aug 07 14:58:52 2020 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Wed Sep 23 05:07:16 2020 +0000 |
tree | d6e10a632f07136e49704b026cccdbc92d25a0f0 | |
parent | 4bd9d81f02af3a86207bf9c298001d1266643b8e [diff] |
Add builder function to IntObjective Change-Id: Ief782b264b618d18174a476febe5960cfb28583f (cherry picked from commit b7b79af9702f03c1286b8f2f9d98e6b87b29c467)
diff --git a/core/api/src/main/java/org/onosproject/net/behaviour/inbandtelemetry/IntObjective.java b/core/api/src/main/java/org/onosproject/net/behaviour/inbandtelemetry/IntObjective.java index b73e9c2..b1d842e 100644 --- a/core/api/src/main/java/org/onosproject/net/behaviour/inbandtelemetry/IntObjective.java +++ b/core/api/src/main/java/org/onosproject/net/behaviour/inbandtelemetry/IntObjective.java
@@ -67,6 +67,15 @@ } /** + * Returns a new INT objective builder. + * + * @return INT objective builder + */ + public static IntObjective.Builder builder() { + return new Builder(); + } + + /** * An IntObjective builder. */ public static final class Builder {