public class CmemsImporterClient extends Object
| Constructor and Description |
|---|
CmemsImporterClient() |
CmemsImporterClient(URL endpoint) |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.dataanalysis.copernicus.cmems.importer.api.ImportOptions |
getJobOptions(String taskId)
Return the options associated with the import task.
|
Collection<String> |
listTasks()
List scheduled tasks.
|
String |
scheduleJob(org.gcube.dataanalysis.copernicus.cmems.importer.api.ImportOptions options)
Schedule a new import job.
|
void |
taskStatus(String taskId)
Get the status of a task.
|
void |
unscheduleTask(String taskId)
Un-schedule a task.
|
public CmemsImporterClient()
public CmemsImporterClient(URL endpoint)
public Collection<String> listTasks()
public org.gcube.dataanalysis.copernicus.cmems.importer.api.ImportOptions getJobOptions(String taskId)
taskId - public String scheduleJob(org.gcube.dataanalysis.copernicus.cmems.importer.api.ImportOptions options) throws org.gcube.vremanagement.executor.exception.ExecutorException, ParseException
org.gcube.vremanagement.executor.exception.ExecutorExceptionParseExceptionpublic void unscheduleTask(String taskId) throws org.gcube.vremanagement.executor.exception.ExecutorException
org.gcube.vremanagement.executor.exception.ExecutorExceptionpublic void taskStatus(String taskId)
Copyright © 2019. All Rights Reserved.