use of org.guvnor.ala.docker.model.DockerProviderImpl in project kie-wb-common by kiegroup.
the class DockerProviderConfigExecutor method apply.
@Override
public Optional<DockerProvider> apply(final DockerProviderConfig dockerProviderConfig) {
final DockerProviderImpl provider = new DockerProviderImpl(new DockerProviderConfigImpl(dockerProviderConfig.getName(), dockerProviderConfig.getHostIp()));
runtimeRegistry.registerProvider(provider);
return Optional.of(provider);
}
Aggregations