Class TasksResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.TasksResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.TasksResource
public class TasksResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.TasksResource
-
-
Constructor Summary
Constructors Constructor Description TasksResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelTask(UUID taskId)
com.artisol.teneo.studio.api.models.Task
getTask(UUID taskId)
List<com.artisol.teneo.studio.api.models.Task>
getTasks()
-
-
-
Method Detail
-
getTasks
public List<com.artisol.teneo.studio.api.models.Task> getTasks() throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getTasks
in interfacecom.artisol.teneo.studio.api.resources.TasksResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getTask
public com.artisol.teneo.studio.api.models.Task getTask(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getTask
in interfacecom.artisol.teneo.studio.api.resources.TasksResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
cancelTask
public void cancelTask(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
cancelTask
in interfacecom.artisol.teneo.studio.api.resources.TasksResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-