@Test public void testRemovePortChain() { testCreatePortChain(); assertThat(portChainMgr.removePortChain(portChainId), is(true)); }
@Override public boolean removePortChain(PortChainId portChainId) { checkNotNull(portChainId, PORT_CHAIN_NULL); portChainStore.remove(portChainId); if (portChainStore.containsKey(portChainId)) { log.debug("The portChain is removed failed whose identifier was {}", portChainId.toString()); return false; } return true; }
PortChainManager extends AbstractListenerManager<PortChainEvent, PortChainListener> implements
        PortChainService { @Override public boolean removePortChain(PortChainId portChainId) { checkNotNull(portChainId, PORT_CHAIN_NULL); portChainStore.remove(portChainId); if (portChainStore.containsKey(portChainId)) { log.debug("The portChain is removed failed whose identifier was {}", portChainId.toString()); return false; } return true; } }
PortChainManager extends AbstractListenerManager<PortChainEvent, PortChainListener> implements
        PortChainService { @Override public boolean removePortChain(PortChainId portChainId) { checkNotNull(portChainId, PORT_CHAIN_NULL); portChainStore.remove(portChainId); if (portChainStore.containsKey(portChainId)) { log.debug("The portChain is removed failed whose identifier was {}", portChainId.toString()); return false; } return true; }  }
PortChainManager extends AbstractListenerManager<PortChainEvent, PortChainListener> implements
        PortChainService { @Override public boolean removePortChain(PortChainId portChainId) { checkNotNull(portChainId, PORT_CHAIN_NULL); portChainStore.remove(portChainId); if (portChainStore.containsKey(portChainId)) { log.debug("The portChain is removed failed whose identifier was {}", portChainId.toString()); return false; } return true; }  @Activate void activate(); @Deactivate void deactivate(); @Override boolean exists(PortChainId portChainId); @Override int getPortChainCount(); @Override Iterable<PortChain> getPortChains(); @Override PortChain getPortChain(PortChainId portChainId); @Override boolean createPortChain(PortChain portChain); @Override boolean updatePortChain(PortChain portChain); @Override boolean removePortChain(PortChainId portChainId); }
PortChainManager extends AbstractListenerManager<PortChainEvent, PortChainListener> implements
        PortChainService { @Override public boolean removePortChain(PortChainId portChainId) { checkNotNull(portChainId, PORT_CHAIN_NULL); portChainStore.remove(portChainId); if (portChainStore.containsKey(portChainId)) { log.debug("The portChain is removed failed whose identifier was {}", portChainId.toString()); return false; } return true; }  @Activate void activate(); @Deactivate void deactivate(); @Override boolean exists(PortChainId portChainId); @Override int getPortChainCount(); @Override Iterable<PortChain> getPortChains(); @Override PortChain getPortChain(PortChainId portChainId); @Override boolean createPortChain(PortChain portChain); @Override boolean updatePortChain(PortChain portChain); @Override boolean removePortChain(PortChainId portChainId);  }