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

io.hydrosphere.mist.Specification.scala Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
package io.hydrosphere.mist

/** Interface for specification pattern
  *
  * @tparam T type of repository element
  */
private[mist] trait Specification[T] {
  /** Predicate for repository filtering
    *
    * @param element repository element for checking
    * @return is this `element` satisfies implemented condition
    */
  def specified(element: T): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy