Class 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 Detail

      • TasksResourceImpl

        public TasksResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.TasksResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException