Changed template files to match new Builder interface and compile.
Templates in this commit are still empty, but at least compile.
diff --git a/java_gen/templates/custom/OFMatchV1Ver10.Builder.java b/java_gen/templates/custom/OFMatchV1Ver10.Builder.java
index 58afcd0..634c46e 100644
--- a/java_gen/templates/custom/OFMatchV1Ver10.Builder.java
+++ b/java_gen/templates/custom/OFMatchV1Ver10.Builder.java
@@ -44,28 +44,28 @@
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setExact(
+ public <F extends OFValueType<F>> Match.Builder setExact(
MatchField<F> field, F value) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, F value, F mask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, Masked<F> valueWithMask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder wildcard(MatchField<F> field) {
+ public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
// FIXME yotam - please replace with real implementation
return null;
}
@@ -75,3 +75,13 @@
// FIXME yotam - please replace with real implementation
return null;
}
+
+ @Override
+ public Builder createBuilder() {
+ return this;
+ }
+
+ @Override
+ public void writeTo(ChannelBuffer bb) {
+ // FIXME yotam - please replace with real implementation
+ }
diff --git a/java_gen/templates/custom/OFMatchV2Ver11.Builder.java b/java_gen/templates/custom/OFMatchV2Ver11.Builder.java
index 58afcd0..634c46e 100644
--- a/java_gen/templates/custom/OFMatchV2Ver11.Builder.java
+++ b/java_gen/templates/custom/OFMatchV2Ver11.Builder.java
@@ -44,28 +44,28 @@
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setExact(
+ public <F extends OFValueType<F>> Match.Builder setExact(
MatchField<F> field, F value) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, F value, F mask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, Masked<F> valueWithMask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder wildcard(MatchField<F> field) {
+ public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
// FIXME yotam - please replace with real implementation
return null;
}
@@ -75,3 +75,13 @@
// FIXME yotam - please replace with real implementation
return null;
}
+
+ @Override
+ public Builder createBuilder() {
+ return this;
+ }
+
+ @Override
+ public void writeTo(ChannelBuffer bb) {
+ // FIXME yotam - please replace with real implementation
+ }
diff --git a/java_gen/templates/custom/OFMatchV3Ver12.Builder.java b/java_gen/templates/custom/OFMatchV3Ver12.Builder.java
index 58afcd0..634c46e 100644
--- a/java_gen/templates/custom/OFMatchV3Ver12.Builder.java
+++ b/java_gen/templates/custom/OFMatchV3Ver12.Builder.java
@@ -44,28 +44,28 @@
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setExact(
+ public <F extends OFValueType<F>> Match.Builder setExact(
MatchField<F> field, F value) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, F value, F mask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, Masked<F> valueWithMask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder wildcard(MatchField<F> field) {
+ public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
// FIXME yotam - please replace with real implementation
return null;
}
@@ -75,3 +75,13 @@
// FIXME yotam - please replace with real implementation
return null;
}
+
+ @Override
+ public Builder createBuilder() {
+ return this;
+ }
+
+ @Override
+ public void writeTo(ChannelBuffer bb) {
+ // FIXME yotam - please replace with real implementation
+ }
diff --git a/java_gen/templates/custom/OFMatchV3Ver13.Builder.java b/java_gen/templates/custom/OFMatchV3Ver13.Builder.java
index 58afcd0..2c00a91 100644
--- a/java_gen/templates/custom/OFMatchV3Ver13.Builder.java
+++ b/java_gen/templates/custom/OFMatchV3Ver13.Builder.java
@@ -44,28 +44,28 @@
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setExact(
+ public <F extends OFValueType<F>> Match.Builder setExact(
MatchField<F> field, F value) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, F value, F mask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder setMasked(
+ public <F extends OFValueType<F>> Match.Builder setMasked(
MatchField<F> field, Masked<F> valueWithMask) {
// FIXME yotam - please replace with real implementation
return null;
}
@Override
- public <F extends OFValueType<F>> MatchBuilder wildcard(MatchField<F> field) {
+ public <F extends OFValueType<F>> Match.Builder wildcard(MatchField<F> field) {
// FIXME yotam - please replace with real implementation
return null;
}
@@ -75,3 +75,14 @@
// FIXME yotam - please replace with real implementation
return null;
}
+
+ @Override
+ public Builder createBuilder() {
+ return this;
+ }
+
+ @Override
+ public void writeTo(ChannelBuffer bb) {
+ // FIXME yotam - please replace with real implementation
+ }
+