Interface GenomeAssemblyRemoteRepository
-
- All Superinterfaces:
RemoteRepository<UploadedAssembly>
- All Known Implementing Classes:
GenomeAssemblyRemoteRepositoryImpl
public interface GenomeAssemblyRemoteRepository extends RemoteRepository<UploadedAssembly>
Repository for synchronizingGenomeAssembly
from aRemoteAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.Path
downloadRemoteAssembly(java.lang.String uri, RemoteAPI remoteAPI)
java.nio.file.Path
downloadRemoteAssembly(java.lang.String uri, RemoteAPI remoteAPI, org.springframework.http.MediaType... mediaTypes)
Download aGenomeAssembly
fom the givenRemoteAPI
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.repositories.remote.RemoteRepository
getServiceStatus, list, read
-
-
-
-
Method Detail
-
downloadRemoteAssembly
java.nio.file.Path downloadRemoteAssembly(java.lang.String uri, RemoteAPI remoteAPI, org.springframework.http.MediaType... mediaTypes)
Download aGenomeAssembly
fom the givenRemoteAPI
- Parameters:
uri
- URI of the assembly to downloadremoteAPI
- theRemoteAPI
for the requestmediaTypes
- theMediaType
to use for the request- Returns:
- a
Path
to the downloaded file
-
-