public static <T extends SimpleEndpoint> ProcessMetadata<T> of( List<ProcessIdentifier> processIdentifier, T... endpoints) { return of(processIdentifier, Arrays.asList(endpoints)); }
public static <T extends SimpleEndpoint> ProcessMetadata<T> of( List<ProcessIdentifier> processIdentifier, List<T> endpoints) { return new ProcessMetadata<>(processIdentifier, endpoints); }
public T getEndpoint(ProcessIdentifier processIdentifier, TransportProfile... transportProfiles) throws EndpointNotFoundException { for (ProcessMetadata<T> processMetadata : processes) if (processMetadata.getProcessIdentifier().contains(processIdentifier)) return processMetadata.getEndpoint(transportProfiles); throw new EndpointNotFoundException( String.format("Combination of '%s' and transport profile(s) not found.", processIdentifier)); } }
public static <T extends SimpleEndpoint> ProcessMetadata<T> of( ProcessIdentifier processIdentifier, T... endpoints) { return of(Collections.singletonList(processIdentifier), Arrays.asList(endpoints)); }
public static <T extends SimpleEndpoint> ProcessMetadata<T> of( ProcessIdentifier processIdentifier, List<T> endpoints) { return new ProcessMetadata<>(Collections.singletonList(processIdentifier), endpoints); }
processMetadatas.add(ProcessMetadata.of( ProcessIdentifier.of( processType.getProcessIdentifier().getValue(),
processMetadatas.add(ProcessMetadata.of( ProcessIdentifier.of( processType.getProcessIdentifier().getValue(),
processMetadatas.add(ProcessMetadata.of( ProcessIdentifier.of( processType.getProcessIdentifier().getValue(),