pl.touk.nussknacker.engine.api.component.AdditionalUIConfigProviderFactory.scala Maven / Gradle / Ivy
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