@Test public void setIngressVlan() throws Exception { config.setIngressVlan(INGRESS_VLAN_2); VlanId ingressVlan = config.ingressVlan(); assertNotNull("ingressVlan should not be null", ingressVlan); assertThat(ingressVlan, is(INGRESS_VLAN_2)); }
public McastConfig setIngressVlan(VlanId vlanId) { if (vlanId == null) { object.remove(INGRESS_VLAN); } else { object.put(INGRESS_VLAN, vlanId.toString()); } return this; }
McastConfig extends Config<ApplicationId> { public McastConfig setIngressVlan(VlanId vlanId) { if (vlanId == null) { object.remove(INGRESS_VLAN); } else { object.put(INGRESS_VLAN, vlanId.toString()); } return this; } }
McastConfig extends Config<ApplicationId> { public McastConfig setIngressVlan(VlanId vlanId) { if (vlanId == null) { object.remove(INGRESS_VLAN); } else { object.put(INGRESS_VLAN, vlanId.toString()); } return this; }  }
McastConfig extends Config<ApplicationId> { public McastConfig setIngressVlan(VlanId vlanId) { if (vlanId == null) { object.remove(INGRESS_VLAN); } else { object.put(INGRESS_VLAN, vlanId.toString()); } return this; }  @Override boolean isValid(); VlanId ingressVlan(); McastConfig setIngressVlan(VlanId vlanId); VlanId egressVlan(); McastConfig setEgressVlan(VlanId vlanId); }
McastConfig extends Config<ApplicationId> { public McastConfig setIngressVlan(VlanId vlanId) { if (vlanId == null) { object.remove(INGRESS_VLAN); } else { object.put(INGRESS_VLAN, vlanId.toString()); } return this; }  @Override boolean isValid(); VlanId ingressVlan(); McastConfig setIngressVlan(VlanId vlanId); VlanId egressVlan(); McastConfig setEgressVlan(VlanId vlanId);  }