@Test public void build() { Map<Class<?>, Object> result = clientBuilder.build(configuration, classLoader); assertTrue(result.get(TaskAssigningRuntimeClient.class) instanceof TaskAssigningRuntimeClientImpl); }
@Override public Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader) { return Collections.singletonMap(TaskAssigningRuntimeClient.class, new TaskAssigningRuntimeClientImpl(configuration, classLoader)); }
TaskAssigningRuntimeServicesClientBuilder implements KieServicesClientBuilder { @Override public Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader) { return Collections.singletonMap(TaskAssigningRuntimeClient.class, new TaskAssigningRuntimeClientImpl(configuration, classLoader)); } }
TaskAssigningRuntimeServicesClientBuilder implements KieServicesClientBuilder { @Override public Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader) { return Collections.singletonMap(TaskAssigningRuntimeClient.class, new TaskAssigningRuntimeClientImpl(configuration, classLoader)); }  }
TaskAssigningRuntimeServicesClientBuilder implements KieServicesClientBuilder { @Override public Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader) { return Collections.singletonMap(TaskAssigningRuntimeClient.class, new TaskAssigningRuntimeClientImpl(configuration, classLoader)); }  @Override String getImplementedCapability(); @Override Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader); }
TaskAssigningRuntimeServicesClientBuilder implements KieServicesClientBuilder { @Override public Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader) { return Collections.singletonMap(TaskAssigningRuntimeClient.class, new TaskAssigningRuntimeClientImpl(configuration, classLoader)); }  @Override String getImplementedCapability(); @Override Map<Class<?>, Object> build(KieServicesConfiguration configuration, ClassLoader classLoader);  }