@Test public void testBuildEndpointL3Augmentation_null() { RegisterEndpointInput input = new RegisterEndpointInputBuilder().build(); Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> entry = ofOverlayAug.buildEndpointL3Augmentation(input); assertNull(entry); }
@Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { OfOverlayContextBuilder ictx = checkAugmentation(input); if (ictx != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( OfOverlayL3Context.class, new OfOverlayL3ContextBuilder(ictx.build()).build()); } return null; }
OfOverlayAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { OfOverlayContextBuilder ictx = checkAugmentation(input); if (ictx != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( OfOverlayL3Context.class, new OfOverlayL3ContextBuilder(ictx.build()).build()); } return null; } }
OfOverlayAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { OfOverlayContextBuilder ictx = checkAugmentation(input); if (ictx != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( OfOverlayL3Context.class, new OfOverlayL3ContextBuilder(ictx.build()).build()); } return null; } OfOverlayAug(DataBroker dataProvider, EpRendererAugmentationRegistry epRendererAugmentationRegistry); }
OfOverlayAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { OfOverlayContextBuilder ictx = checkAugmentation(input); if (ictx != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( OfOverlayL3Context.class, new OfOverlayL3ContextBuilder(ictx.build()).build()); } return null; } OfOverlayAug(DataBroker dataProvider, EpRendererAugmentationRegistry epRendererAugmentationRegistry); @Override Map.Entry<Class<? extends Augmentation<Endpoint>>, Augmentation<Endpoint>> buildEndpointAugmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3Prefix>>, Augmentation<EndpointL3Prefix>> buildL3PrefixEndpointAugmentation(
            RegisterL3PrefixEndpointInput input); @Override void close(); }
OfOverlayAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { OfOverlayContextBuilder ictx = checkAugmentation(input); if (ictx != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( OfOverlayL3Context.class, new OfOverlayL3ContextBuilder(ictx.build()).build()); } return null; } OfOverlayAug(DataBroker dataProvider, EpRendererAugmentationRegistry epRendererAugmentationRegistry); @Override Map.Entry<Class<? extends Augmentation<Endpoint>>, Augmentation<Endpoint>> buildEndpointAugmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3Prefix>>, Augmentation<EndpointL3Prefix>> buildL3PrefixEndpointAugmentation(
            RegisterL3PrefixEndpointInput input); @Override void close();  }