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

jp.co.cyberagent.aeromock.cli.job.CliJobs.scala Maven / Gradle / Ivy

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)
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy