@Test public void testCreateClassMap() { ClassMap cm = PolicyManagerUtil.createClassMap("testName", null); assertNotNull(cm); }
@Nonnull static ClassMap createClassMap(final String classMapName, final Match match) { final ClassMapBuilder cmBuilder = new ClassMapBuilder(); cmBuilder.setName(classMapName) .setKey(new ClassMapKey(classMapName)) .setPrematch(ClassMap.Prematch.MatchAll) .setMatch(match); return cmBuilder.build(); }
PolicyManagerUtil { @Nonnull static ClassMap createClassMap(final String classMapName, final Match match) { final ClassMapBuilder cmBuilder = new ClassMapBuilder(); cmBuilder.setName(classMapName) .setKey(new ClassMapKey(classMapName)) .setPrematch(ClassMap.Prematch.MatchAll) .setMatch(match); return cmBuilder.build(); } }
PolicyManagerUtil { @Nonnull static ClassMap createClassMap(final String classMapName, final Match match) { final ClassMapBuilder cmBuilder = new ClassMapBuilder(); cmBuilder.setName(classMapName) .setKey(new ClassMapKey(classMapName)) .setPrematch(ClassMap.Prematch.MatchAll) .setMatch(match); return cmBuilder.build(); } private  PolicyManagerUtil(); }
PolicyManagerUtil { @Nonnull static ClassMap createClassMap(final String classMapName, final Match match) { final ClassMapBuilder cmBuilder = new ClassMapBuilder(); cmBuilder.setName(classMapName) .setKey(new ClassMapKey(classMapName)) .setPrematch(ClassMap.Prematch.MatchAll) .setMatch(match); return cmBuilder.build(); } private  PolicyManagerUtil(); static void syncEndpointPairCreatePolicy(final Sgt sourceSgt, final Sgt destinationSgt,
                                                    final PolicyConfigurationContext context, final Configuration data,
                                                    final PeerEndpoint peerEndpoint, final DataBroker dataBroker); static void syncEndpointPairRemovePolicy(final Sgt sourceSgt, final Sgt destinationSgt,
                                                    final PolicyConfigurationContext context, final Configuration data,
                                                    final PeerEndpoint peerEndpoint); @Nullable static Sgt findSgtTag(final EPToSgtMapper sxpEpProvider, final AddressEndpointKey endpointKey,
                                 final List<AddressEndpointWithLocation> endpointsWithLocation, final long timeout, final TimeUnit unit); static ServicePolicy createServicePolicy(final String chainName, final Direction direction); static InstanceIdentifier getMountpointIidFromAbsoluteLocation(final RendererEndpoint endpoint,
                                                                          final List<AddressEndpointWithLocation> endpointsWithLocation); static String getInterfaceNameFromAbsoluteLocation(final RendererEndpoint endpoint,
                                                              final List<AddressEndpointWithLocation> endpointsWithLocation); static Optional<Binding> createIpSgtBindingItem(final Sgt sgt, final AddressEndpointWithLocation addressEndpointWithLocation); }
PolicyManagerUtil { @Nonnull static ClassMap createClassMap(final String classMapName, final Match match) { final ClassMapBuilder cmBuilder = new ClassMapBuilder(); cmBuilder.setName(classMapName) .setKey(new ClassMapKey(classMapName)) .setPrematch(ClassMap.Prematch.MatchAll) .setMatch(match); return cmBuilder.build(); } private  PolicyManagerUtil(); static void syncEndpointPairCreatePolicy(final Sgt sourceSgt, final Sgt destinationSgt,
                                                    final PolicyConfigurationContext context, final Configuration data,
                                                    final PeerEndpoint peerEndpoint, final DataBroker dataBroker); static void syncEndpointPairRemovePolicy(final Sgt sourceSgt, final Sgt destinationSgt,
                                                    final PolicyConfigurationContext context, final Configuration data,
                                                    final PeerEndpoint peerEndpoint); @Nullable static Sgt findSgtTag(final EPToSgtMapper sxpEpProvider, final AddressEndpointKey endpointKey,
                                 final List<AddressEndpointWithLocation> endpointsWithLocation, final long timeout, final TimeUnit unit); static ServicePolicy createServicePolicy(final String chainName, final Direction direction); static InstanceIdentifier getMountpointIidFromAbsoluteLocation(final RendererEndpoint endpoint,
                                                                          final List<AddressEndpointWithLocation> endpointsWithLocation); static String getInterfaceNameFromAbsoluteLocation(final RendererEndpoint endpoint,
                                                              final List<AddressEndpointWithLocation> endpointsWithLocation); static Optional<Binding> createIpSgtBindingItem(final Sgt sgt, final AddressEndpointWithLocation addressEndpointWithLocation);  }