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

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

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

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

final case class ComponentGroupName(value: String) {
  def toLowerCase: String       = value.toLowerCase
  override def toString: String = value
}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy