pl.touk.nussknacker.engine.api.process.ProcessObjectDependencies.scala Maven / Gradle / Ivy
package pl.touk.nussknacker.engine.api.process
import com.typesafe.config.Config
import pl.touk.nussknacker.engine.api.namespaces.NamingStrategy
// TODO: Rename to ModelDependencies + rename config to modelConfig
final case class ProcessObjectDependencies private (config: Config, namingStrategy: NamingStrategy) extends Serializable
object ProcessObjectDependencies {
def withConfig(modelConfig: Config): ProcessObjectDependencies = {
ProcessObjectDependencies(modelConfig, NamingStrategy.fromConfig(modelConfig))
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy