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

lmcoursier.definitions.Reconciliation.scala Maven / Gradle / Ivy

There is a newer version: 2.1.6
Show newest version
package lmcoursier.definitions

sealed abstract class Reconciliation extends Serializable

object Reconciliation {
  case object Default extends Reconciliation
  case object Relaxed extends Reconciliation
  case object Strict extends Reconciliation
  case object SemVer extends Reconciliation

  def apply(input: String): Option[Reconciliation] =
    input match {
      case "default" => Some(Default)
      case "relaxed" => Some(Relaxed)
      case "strict" => Some(Strict)
      case "semver" => Some(SemVer)
      case _ => None
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy