mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-28 12:02:00 +01:00
Initial commit
This commit is contained in:
17
app/com/ysoft/odc/LocalFilesDownloader.scala
Normal file
17
app/com/ysoft/odc/LocalFilesDownloader.scala
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.ysoft.odc
|
||||
|
||||
import javax.inject.Named
|
||||
|
||||
import com.google.inject.Inject
|
||||
|
||||
import scala.concurrent.Future
|
||||
|
||||
class LocalFilesDownloader @Inject() (@Named("reports-path") path: String) extends Downloader{
|
||||
override def downloadProjectReports(projects: Set[String], requiredVersions: Map[String, Int]): Future[(Map[String, (Build, ArtifactItem, ArtifactFile)], Map[String, Throwable])] = {
|
||||
if(requiredVersions != Map()){
|
||||
sys.error("Versions are not supported there")
|
||||
}
|
||||
projects.map{pn => ???}
|
||||
???
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user