All Downloads are FREE. Search and download functionalities are using the official Maven repository.

water.bindings.proxies.retrofit.Jobs Maven / Gradle / Ivy

There is a newer version: 3.8.2.11
Show newest version
package water.bindings.proxies.retrofit;

import water.bindings.pojos.*;
import retrofit2.*;
import retrofit2.http.*;
import java.util.Map;

public interface Jobs {
    /** Get a list of all the H2O Jobs (long-running actions). */
    @GET("/3/Jobs")
    Call list();

    /** Get the status of the given H2O Job (long-running action). */
    @GET("/3/Jobs/{job_id}")
    Call fetch(@Path("job_id") String job_id);

    /** Cancel a running job. */
    @FormUrlEncoded
    @POST("/3/Jobs/{job_id}/cancel")
    Call cancel(@Path("job_id") String job_id,
                        @Field("_exclude_fields") String _exclude_fields);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy