Interface TaskApi


  • public interface TaskApi
    See Also:
    ,
    • Method Detail

      • runTest

        @Named("runTest")
        @POST
        String runTest​(String value)
        Runs a test task
        Returns:
        guid of the task created
      • get

        @Named("getStatusForTask")
        @POST
        @Nullable
        Task get​(String name)
        Parameters:
        guid - guid of the task to get information about.
        Returns:
        null if not found
      • list

        @Named("getAllTasks")
        @POST
        com.google.common.collect.FluentIterable<Task> list()
        Lists all tasks.
      • clear

        @Named("clearTask")
        @POST
        void clear​(String name)
        clears a background task in either a COMPLETE or ERROR state.
        Parameters:
        guid - guid of the task to clear.