pl.touk.nussknacker.engine.api.process.ComponentUseCase.scala Maven / Gradle / Ivy
package pl.touk.nussknacker.engine.api.process
/**
* Specifies the mode a node is used/invoked. It can be one of the following values:
*
* - EngineRuntime - component is invoked in real engine, eg. Flink.
* - TestRuntime - component is invoked in test mode to collect results for test data. Can be used to stub real implementation.
* - Validation - used when compiling and validating nodes by Designer. Components should not be invoked in this mode.
* - ServiceQuery - used when component (Service) is invoked by Designer in ServiceQuery.
* - TestDataGeneration - used when compiling, but only for purpose of generating test data. Components should not be invoked in this mode.
*
*/
sealed trait ComponentUseCase
object ComponentUseCase {
case object EngineRuntime extends ComponentUseCase
case object TestRuntime extends ComponentUseCase
case object Validation extends ComponentUseCase
case object ServiceQuery extends ComponentUseCase
case object TestDataGeneration extends ComponentUseCase
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy