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