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

com.ing.baker.recipe.common.Event.scala Maven / Gradle / Ivy

There is a newer version: 1.1.18
Show newest version
package com.ing.baker.recipe.common

trait Event {
  val name: String
  val providedIngredients: Seq[Ingredient]
  val maxFiringLimit: Option[Integer] = Option.empty

  override def equals(obj: scala.Any): Boolean = obj match {
    case other: Event => this.name == other.name && this.providedIngredients == other.providedIngredients
    case _ => false
  }

  override def toString: String = s"Event($name)"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy