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

mb.pie.api.stamp.Output.kt Maven / Gradle / Ivy

The newest version!
package mb.pie.api.stamp

import mb.pie.api.Out
import mb.pie.api.stamp.output.EqualsOutputStamper
import mb.pie.api.stamp.output.InconsequentialOutputStamper
import java.io.Serializable

/**
 * Stamper for customizable change detection on task outputs. Stampers must be [Serializable].
 */
interface OutputStamper : Serializable {
  fun stamp(output: Out): OutputStamp
}

/**
 * Stamp produced by an [OutputStamper]. Stamps must be [Serializable].
 */
interface OutputStamp : Serializable {
  val stamper: OutputStamper
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy