public class DpsClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TASK_NOTIFICATION_URL |
static String |
TASK_PROGRESS_URL |
| Constructor and Description |
|---|
DpsClient(String dpsUrl,
String username,
String password)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
eu.europeana.cloud.service.dps.DpsTask |
getTask(String topologyName,
long taskId) |
String |
getTaskNotification(String topologyName,
long taskId) |
String |
getTaskProgress(String topologyName,
long taskId)
Retrieves progress for the specified combination of taskId and topology.
|
void |
submitTask(eu.europeana.cloud.service.dps.DpsTask task,
String topologyName)
Submits a task for execution in the specified topology.
|
void |
topologyPermit(String topologyName,
String username)
Submits a task for execution in the specified topology.
|
public static final String TASK_PROGRESS_URL
public static final String TASK_NOTIFICATION_URL
public void submitTask(eu.europeana.cloud.service.dps.DpsTask task,
String topologyName)
public void topologyPermit(String topologyName, String username)
public eu.europeana.cloud.service.dps.DpsTask getTask(String topologyName, long taskId)
public String getTaskProgress(String topologyName, long taskId)
Copyright © 2013–2017 Europeana Cloud Development Team. All rights reserved.