responses.JobStates.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-job-rest-api Show documentation
Show all versions of spark-job-rest-api Show documentation
The API for Spark-Job-Rest.
Contains the SparkJob interface that must be extended in order to run jobs on the server.
package responses
/**
* Created by raduchilom on 4/24/15.
*/
object JobStates {
sealed abstract class JobState(val name: String) {
override def toString = name
}
case object RUNNING extends JobState("Running")
case object ERROR extends JobState("Error")
case object FINISHED extends JobState("Finished")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy