All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.api.component.AdditionalUIConfigProviderFactory.scala Maven / Gradle / Ivy

There is a newer version: 1.18.0
Show newest version
package pl.touk.nussknacker.engine.api.component

import com.typesafe.config.Config
import sttp.client3.SttpBackend

import scala.concurrent.{ExecutionContext, Future}

trait AdditionalUIConfigProviderFactory {

  def create(config: Config, sttpBackend: SttpBackend[Future, Any])(
      implicit ec: ExecutionContext,
  ): AdditionalUIConfigProvider

}

class EmptyAdditionalUIConfigProviderFactory extends AdditionalUIConfigProviderFactory {

  override def create(config: Config, sttpBackend: SttpBackend[Future, Any])(
      implicit ec: ExecutionContext,
  ): AdditionalUIConfigProvider = AdditionalUIConfigProvider.empty

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy