jp.co.cyberagent.aeromock.cli.job.CliJobs.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aeromock-cli_2.11 Show documentation
Show all versions of aeromock-cli_2.11 Show documentation
Aeromock Command line interface module.
The newest version!
package jp.co.cyberagent.aeromock.cli.job
import jp.co.cyberagent.aeromock.cli.Job
/**
* Job definition object.
* @author stormcat24
*/
object CliJobs {
val jobs = Seq(
classOf[ValidationJob]
)
lazy val availableJobs = {
jobs.collect {
case job if job.getAnnotation(classOf[Job]) != null => (job.getAnnotation(classOf[Job]), job)
}
}
}