@Test public void testBuildEndpointL3Augmentation_noAug() { RegisterEndpointInput input = new RegisterEndpointInputBuilder().build(); assertNull(ofOverlayL3NatAug.buildEndpointL3Augmentation(input)); }
@Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; }
OfOverlayL3NatAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; } }
OfOverlayL3NatAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; } OfOverlayL3NatAug(EpRendererAugmentationRegistry epRendererAugmentationRegistry); }
OfOverlayL3NatAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; } OfOverlayL3NatAug(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(); }
OfOverlayL3NatAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; } OfOverlayL3NatAug(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();  }