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

pl.touk.nussknacker.engine.deployment.ExternalDeploymentId.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.deployment

import io.circe.generic.extras.semiauto.{deriveUnwrappedDecoder, deriveUnwrappedEncoder}
import io.circe.{Decoder, Encoder}

//id generated by external system - e.g. Flink JobID
final case class ExternalDeploymentId(value: String) extends AnyVal {
  override def toString: String = value
}

object ExternalDeploymentId {
  implicit val encoder: Encoder[ExternalDeploymentId] = deriveUnwrappedEncoder
  implicit val decoder: Decoder[ExternalDeploymentId] = deriveUnwrappedDecoder
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy